================
@@ -42,6 +47,14 @@ CreateFrontendBaseAction(CompilerInstance &CI) {
StringRef Action("unknown");
(void)Action;
+ auto UseCIR = CI.getFrontendOpts().UseClangIRPipeline;
----------------
bcardosolopes wrote:
Should this be the case for actual lib/CIR/CodeGen too? MLIR uses `auto`
extensively (perhaps because value semantics is common land there) and we have
been doing that as well for CIRGen and passes - it's going to be a massive
change for us, so we it'd be good to know if that should apply everywhere or
only into the areas of Clang isolated from MLIR.
https://github.com/llvm/llvm-project/pull/91007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits