================
@@ -34,12 +34,17 @@ class InitOnlyAction : public FrontendAction {
 
 /// Preprocessor-based frontend action that also loads PCH files.
 class ReadPCHAndPreprocessAction : public FrontendAction {
+  llvm::function_ref<void(CompilerInstance &)> OnCI;
----------------
jansvoboda11 wrote:

The function acts on `CompilerInstance`, so I figured `OnCI` fits. But I guess 
it's a bit too terse. How about `AdjustCI`? It's basically here to be able to 
tweak the `CompilerInstance` in a way that `CompilerInvocation` alone can't 
(and neither can this `FrontendAction` without some additional context).

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

Reply via email to