[PATCH] D72100: Allow matching "any file" in `VerifyDiagnosticConsumer`.

Alexandre Rames via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 2 12:59:29 PST 2020


arames created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
arames added a reviewer: rsmith.

This allows specifying `*` for the filename to match any file. For example:

  // expected-note@*:* {{Match this note in any file at any line.}}
  // expected-note@*:123 {{Match this note in any file at line 123.}}


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72100

Files:
  clang/include/clang/Frontend/VerifyDiagnosticConsumer.h
  clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
  clang/test/Frontend/verify-any-file.c
  clang/test/Frontend/verify-any-file.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72100.235929.patch
Type: text/x-patch
Size: 9325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200102/74280a15/attachment-0001.bin>


More information about the cfe-commits mailing list