Skip to content

Commit

Permalink
[mlir][OpInterfacesGen][NFC] Add newline after traits declaration (#8…
Browse files Browse the repository at this point in the history
…5633)

Slightly improve the readability of the tablegen-generated code.

Co-authored-by: Orest Chura <orest.chura@intel.com>
  • Loading branch information
andrey-golubev and OrestChura committed Mar 18, 2024
1 parent 12b802a commit 39c739e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/tools/mlir-tblgen/OpInterfacesGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ void InterfaceGenerator::emitInterfaceDecl(const Interface &interface) {
<< "struct " << interfaceTraitsName << " {\n";
emitConceptDecl(interface);
emitModelDecl(interface);
os << "};";
os << "};\n";

// Emit the derived trait for the interface.
os << "template <typename " << valueTemplate << ">\n";
Expand Down

0 comments on commit 39c739e

Please sign in to comment.