[clang] [CIR] Build out AST consumer patterns to reach the entry point into CIRGen (PR #91007)

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 31 22:12:57 PDT 2024


================
@@ -2900,7 +2900,7 @@ defm clangir : BoolFOption<"clangir",
   PosFlag<SetTrue, [], [ClangOption, CC1Option], "Use the ClangIR pipeline to compile">,
   NegFlag<SetFalse, [], [ClangOption, CC1Option], "Use the AST -> LLVM pipeline to compile">,
   BothFlags<[], [ClangOption, CC1Option], "">>;
-def emit_cir : Flag<["-"], "emit-cir">, Visibility<[CC1Option]>,
+def emit_cir : Flag<["-"], "emit-cir">, Visibility<[ClangOption, CC1Option]>,
----------------
smeenai wrote:

Fangrui is out for a few weeks: https://github.com/llvm/llvm-project/pull/104899#pullrequestreview-2248433784

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


More information about the cfe-commits mailing list