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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 05:15:51 PDT 2024


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

shouldn't this be set at the end of `HandleTranslationUnit` rather than the beginning?

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


More information about the cfe-commits mailing list