| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
exist. Cheat and do this by adding some wrappers around the PresumedLoc
machinery that directly return the line and column number.
llvm-svn: 126281
|
|
|
|
|
|
|
|
| |
VerifyDiagnosticsClient
and just check the number of errors from the DiagnosticClient.
llvm-svn: 119736
|
|
|
|
| |
llvm-svn: 112718
|
|
|
|
|
|
|
| |
convoluted and a bit leaky. Now, the Diagnostic object owns its
DiagnosticClient.
llvm-svn: 111437
|
|
|
|
| |
llvm-svn: 111101
|
|
|
|
| |
llvm-svn: 111087
|
|
|
|
|
|
|
|
| |
expected-error-re {{someregex}}
Patch by mike-m!
llvm-svn: 102516
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 88765
|
|
- 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
|