Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add regex support for -verify mode. You can now do things like | Chris Lattner | 2010-04-28 | 1 | -144/+319 |
| | | | | | | | | expected-error-re {{someregex}} Patch by mike-m! llvm-svn: 102516 | ||||
* | Fix PR5633 by making the preprocessor handle the case where we can | Chris Lattner | 2009-11-30 | 1 | -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 Dunbar | 2009-11-14 | 1 | -28/+32 |
| | | | | llvm-svn: 88765 | ||||
* | Add VerifyDiagnosticsClient, to replace old -verify. | Daniel Dunbar | 2009-11-14 | 1 | -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 |