This allows specifying * for the filename to match any file. For example:
// expected-note@*:* {{Match this note in any file at any line.}}
Differential D72100
Allow matching "any file" in `VerifyDiagnosticConsumer`. arames on Jan 2 2020, 12:54 PM. Authored by
Details This allows specifying * for the filename to match any file. For example: // expected-note@*:* {{Match this note in any file at any line.}}
Diff Detail
Event TimelineComment Actions This is for example useful to add a catch-all clause like // expected-note-re@*:* 1+ {{candidate function {{.+}}}}
Comment Actions We should either simplify the implementation to reflect that we don't support e. g. *:42 (seems preferable to me) or have the codepaths that are currently not accessible through -fverify tested by other means.
Comment Actions That makes sense. I have updated the naming and added a comment to reflect that. PTAL.
|