================
@@ -1243,12 +1247,19 @@ bool 
ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps,
   }
 
   std::unique_ptr<TopLevelDeclTrackerAction> Act(
-      new TopLevelDeclTrackerAction(*this));
+      new TopLevelDeclTrackerAction(*this, true));
----------------
giulianobelinassi wrote:

The problem is that when you are using PCH it always recreate the preprocessor 
for compiling the .c/.cpp file instead of reusing the one that resulted from 
the PCH.  So we need a way to ensure that it isn't recreated in this process.

https://github.com/llvm/llvm-project/pull/105591
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to