[cfe-dev] [PATCH] add regex/globbing to -verify diagnostics

Justin Bogner mail at justinbogner.com
Sun Apr 25 10:11:16 PDT 2010

mike <mikem.llvm at gmail.com> writes:
> The other day someone on IRC asked if -verify supported regex;
> attached is a patch for regex and glob-style matching. They're
> selected by using one of '-', '~' or '*' for string, regex and glob
> matching. Maybe '?' would be better for glob? Here's a few pertinent
> lines from the header docs:

The expected-error, expected~error, and expected*error are so similar as
to be confusing. Why not simply have expected-error, expected-error-re,
and expected-error-glob? It's only a few extra characters, and much more

More information about the cfe-dev mailing list