================ @@ -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" ---------------- dkolsen-pgi wrote:
The TableGen'erated file doesn't have its own includes. So it needs to be last, to rely on the includes of the main `.cpp` file. The TableGen file is not a regular header and shouldn't be lumped in with the guidelines for the other headers. https://github.com/llvm/llvm-project/pull/113483 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits