[clang] [CIR] Build out AST consumer patterns to reach the entry point into CIRGen (PR #91007)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri May 3 13:44:57 PDT 2024
================
@@ -53,8 +66,13 @@ CreateFrontendBaseAction(CompilerInstance &CI) {
case DumpTokens: return std::make_unique<DumpTokensAction>();
case EmitAssembly: return std::make_unique<EmitAssemblyAction>();
case EmitBC: return std::make_unique<EmitBCAction>();
+#if CLANG_ENABLE_CIR
+ case EmitCIR:
----------------
erichkeane wrote:
So I'd like 1 of 2 things to happen here:
1- move the 'case' outside of the #if/#else
2- OR put both 'case' and 'make_unique' (and perhaps llvm_unreachable) on a single line with the spacing to match the rest of the file.
https://github.com/llvm/llvm-project/pull/91007
More information about the cfe-commits
mailing list