================
@@ -1098,7 +1098,13 @@ void VerifyDiagnosticConsumer::CheckDiagnostics() {
// Produce an error if no expected-* directives could be found in the
// source file(s) processed.
if (Status == HasNoDirectives) {
- Diags.Report(diag::err_verify_no_directives).setForceEmit();
+ std::string directives;
+ if (Diags.getDiagnosticOptions().VerifyPrefixes.empty()) {
+ directives = "expected";
----------------
tbaederr wrote:
I guess that's fine then.
https://github.com/llvm/llvm-project/pull/78338
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits