aboutsummaryrefslogtreecommitdiff
path: root/lib/Tooling/CompilationDatabase.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-11 16:50:36 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-11 16:50:36 +0000
commitc6d64a26c28bbeee50e06c94c4f4c08e610327b7 (patch)
treebdaf1e7360cdd97c0e27d3a33062c902c42f3728 /lib/Tooling/CompilationDatabase.cpp
parent85663e7b40097b2f162f58ba9f4dae2d0f24f648 (diff)
Emit -verify diagnostics even when we have a fatal error.
Previously we'd halt at the fatal error as expected, but not actually emit any -verify-related diagnostics. This lets us catch cases that emit a /different/ fatal error from the one we expected. This is implemented by adding a "force emit" mode to DiagnosticBuilder, which will cause diagnostics to immediately be emitted regardless of current suppression. Needless to say this should probably be used /very/ sparingly. Patch by Andy Gibbs! Tests for all of Andy's -verify patches coming soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160053 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling/CompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions