diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2012-07-11 16:50:36 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-11 16:50:36 +0000 |
| commit | 6f524ac9f098919e7936891deca729277d1df934 (patch) | |
| tree | f8b8c54ef1336a2269ae162a238946dd134c46a2 /clang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp | |
| parent | cc19aec7ae4b5f6a2fa8aa660c3573c57a640903 (diff) | |
| download | bcm5719-llvm-6f524ac9f098919e7936891deca729277d1df934.tar.gz bcm5719-llvm-6f524ac9f098919e7936891deca729277d1df934.zip | |
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.
llvm-svn: 160053
Diffstat (limited to 'clang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp')
0 files changed, 0 insertions, 0 deletions

