diff options
author | Andrei Golubev <andrey.golubev@intel.com> | 2024-03-18 18:05:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 17:05:05 +0100 |
commit | 39c739eec9148a2f4e04c7fa9ca11f23db79bb15 (patch) | |
tree | 8c59e14a20607e23721c0ab4ef47fdb67703f906 | |
parent | 12b802ac0bc6ddf0742aa3fe8caecd8204d70ca5 (diff) | |
download | llvm-39c739eec9148a2f4e04c7fa9ca11f23db79bb15.zip llvm-39c739eec9148a2f4e04c7fa9ca11f23db79bb15.tar.gz llvm-39c739eec9148a2f4e04c7fa9ca11f23db79bb15.tar.bz2 |
[mlir][OpInterfacesGen][NFC] Add newline after traits declaration (#85633)
Slightly improve the readability of the tablegen-generated code.
Co-authored-by: Orest Chura <orest.chura@intel.com>
-rw-r--r-- | mlir/tools/mlir-tblgen/OpInterfacesGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/tools/mlir-tblgen/OpInterfacesGen.cpp b/mlir/tools/mlir-tblgen/OpInterfacesGen.cpp index 9672a02..2a7406f 100644 --- a/mlir/tools/mlir-tblgen/OpInterfacesGen.cpp +++ b/mlir/tools/mlir-tblgen/OpInterfacesGen.cpp @@ -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"; |