[clang] [Frontend] Move -mllvm and loading of plugins to address a fixme. NFC (PR #192476)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 19 19:18:06 PDT 2026


================
@@ -945,19 +946,36 @@ bool CompilerInstance::InitializeSourceManager(const FrontendInputFile &Input,
 // High-Level Operations
 
 void CompilerInstance::PrepareForExecution() {
+  if (PreparedForExecution)
+    return;
+  PreparedForExecution = true;
----------------
ChuanqiXu9 wrote:

Why do we need this? This is not used in other place.

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


More information about the cfe-commits mailing list