[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:05 PDT 2024


================
@@ -282,6 +288,8 @@ namespace {
     }
 
     void HandleTranslationUnit(ASTContext &Ctx) override {
+      IRGenFinished = true;
----------------
vgvassilev wrote:

Good point. I guess I was avoiding this early return which I have now removed. In fact this change fixed some of the failures we see in the tests.

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


More information about the cfe-commits mailing list