[PATCH] Allow regexes in all verifier directives: drop the expected-(error|warning|note)-re, variants

Hans Wennborg hans at chromium.org
Wed Dec 11 20:53:54 PST 2013


Hi rsmith,

As suggested by Richard in http://llvm-reviews.chandlerc.com/D2388?id=6039#inline-12744, let's just allow regexes in all verifier directives and drop -re variants to simplify things.

The only thing this doesn't simplify is the constexpr-printing.cpp test, but perhaps we can live with that.

http://llvm-reviews.chandlerc.com/D2392

Files:
  include/clang/Basic/DiagnosticFrontendKinds.td
  include/clang/Frontend/VerifyDiagnosticConsumer.h
  lib/Frontend/VerifyDiagnosticConsumer.cpp
  test/Analysis/analyzer-stats.c
  test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp
  test/CXX/drs/dr14xx.cpp
  test/CXX/special/class.copy/implicit-move.cpp
  test/Lexer/hexfloat.cpp
  test/Misc/verify.c
  test/Parser/attributes.mm
  test/Sema/format-strings-scanf.c
  test/Sema/ms-wchar.c
  test/Sema/thread-specifier.c
  test/SemaCXX/addr-of-overloaded-function.cpp
  test/SemaCXX/constexpr-printing.cpp
  test/SemaCXX/member-expr.cpp
  test/SemaCXX/nested-name-spec.cpp
  test/SemaCXX/operator-arrow-depth.cpp
  test/SemaCXX/pr13394-crash-on-invalid.cpp
  test/SemaCXX/qualified-id-lookup.cpp
  test/SemaCXX/typo-correction-pt2.cpp
  test/SemaCXX/typo-correction.cpp
  test/SemaTemplate/dependent-names.cpp
  test/SemaTemplate/ms-lookup-template-base-classes.cpp
  test/SemaTemplate/typename-specifier.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2392.1.patch
Type: text/x-patch
Size: 27007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131211/29a4d360/attachment.bin>


More information about the cfe-commits mailing list