================
@@ -658,13 +658,15 @@ class ASTBuilderAction : public ToolAction {
Invocation->getDiagnosticOpts(),
DiagConsumer,
/*ShouldOwnClient=*/false),
- Files);
+ Files, false, CaptureKinds);
if (!AST)
return false;
ASTs.push_back(std::move(AST));
return true;
}
+
+ CaptureDiagsKind CaptureKinds{CaptureDiagsKind::None};
----------------
HighCommander4 wrote:
I would make this a private field set via a (possibly optional) constructor
parameter
https://github.com/llvm/llvm-project/pull/155561
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits