[clang] [clang-repl] Teach clang-repl how to load PCHs. (PR #94166)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 09:05:55 PDT 2024


================
@@ -138,6 +138,8 @@ namespace {
       assert(!M && "Replacing existing Module?");
       M.reset(new llvm::Module(ExpandModuleName(ModuleName, CodeGenOpts), C));
 
+      IRGenFinished = false;
----------------
vgvassilev wrote:

It's a double negation: it is /not/ finished when we start a new module.

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


More information about the cfe-commits mailing list