[llvm-branch-commits] [clang] [CIR] Add options to emit ClangIR and enable the ClangIR pipeline (PR #89030)

Erich Keane via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 17 06:26:59 PDT 2024


================
@@ -590,7 +596,7 @@ class FrontendOptions {
         EmitSymbolGraph(false), EmitExtensionSymbolGraphs(false),
         EmitSymbolGraphSymbolLabelsForTesting(false),
         EmitPrettySymbolGraphs(false), GenReducedBMI(false),
-        TimeTraceGranularity(500) {}
+        UseClangIRPipeline(), TimeTraceGranularity(500) {}
----------------
erichkeane wrote:

Why isn't this initializing this to a value? I would expect it to have  'false' here.
```suggestion
        UseClangIRPipeline(false), TimeTraceGranularity(500) {}
```

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


More information about the llvm-branch-commits mailing list