summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/VerifyDiagnosticsClient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add regex support for -verify mode. You can now do things likeChris Lattner2010-04-281-144/+319
| | | | | | | | expected-error-re {{someregex}} Patch by mike-m! llvm-svn: 102516
* Fix PR5633 by making the preprocessor handle the case where we canChris Lattner2009-11-301-3/+5
| | | | | | | | | | stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h' instead of "cannot find file". llvm-svn: 90110
* Shuffle VerifyDiagnosticsClient API to be less fragile.Daniel Dunbar2009-11-141-28/+32
| | | | llvm-svn: 88765
* Add VerifyDiagnosticsClient, to replace old -verify.Daniel Dunbar2009-11-141-0/+340
- This reimplements -verify as just another DiagnosticClient, which buffers the diagnostics and checks them when the source file is complete. There are some hacks to make this work, but they are all internal, and this exposes a better external interface. - This also tweaks a few things: o Errors are now just regular diagnostics. o Frontend diagnostics are now caught (for example, errors in command line arguments), although there isn't yet a way to specify that they are expected. That would be nice though. - Not yet used. llvm-svn: 88748
OpenPOWER on IntegriCloud