[clang] [CIR] Call code gen; create empty cir.func op (PR #113483)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 31 13:27:43 PDT 2024


================
@@ -10,4 +10,57 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include <clang/CIR/Dialect/IR/CIRDialect.h>
+#include "clang/CIR/Dialect/IR/CIRDialect.h"
+
+#include "mlir/Support/LogicalResult.h"
+
+#include "clang/CIR/Dialect/IR/CIROpsDialect.cpp.inc"
----------------
erichkeane wrote:

Here's our policy https://llvm.org/docs/CodingStandards.html#include-style

So tablegen files don't seem to be special cases? Current header seems like it should be first.

https://github.com/llvm/llvm-project/pull/113483


More information about the cfe-commits mailing list