================
@@ -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"
----------------
AaronBallman 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.

I think that should probably change (though I don't think it needs to as part 
of this patch) because relying on transitive includes is rarely a good thing 
for long-term maintenance.

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

Reply via email to