================
@@ -1222,6 +1223,9 @@ bool 
ASTUnit::Parse(std::shared_ptr<PCHContainerOperations> PCHContainerOps,
   if (!Act->BeginSourceFile(*Clang, Clang->getFrontendOpts().Inputs[0]))
     return true;
 
+  if (OnCompilerCreated)
+    OnCompilerCreated(*Clang);
----------------
steakhal wrote:

This is a somewhat controversial hunk. I am not the right person to approve or 
deny this specific hunk.
I'll ask some folks for consensus about this.
Passing this callback around feels also somewhat invasive.

https://github.com/llvm/llvm-project/pull/176126
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to