diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2011-09-29 01:01:08 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2011-09-29 01:01:08 +0000 |
| commit | aa11138543d419a5152b35564d59a853687fa7fc (patch) | |
| tree | 9f7a159e6c4490c8265e87f4499dfe3c94afa485 /llvm/lib/Target/ARM/ARMSjLjLoweringPass.cpp | |
| parent | cc5f8d45173668385d047c7538acd92ba501e2df (diff) | |
| download | bcm5719-llvm-aa11138543d419a5152b35564d59a853687fa7fc.tar.gz bcm5719-llvm-aa11138543d419a5152b35564d59a853687fa7fc.zip | |
Basic/Diagnostics: Add an isDefaultMappingAsError method, and switch TextDiagnosticPrinter to use that instead of extracting the current mapping via getDiagnosticLevel, which fixes one class of corner cases w.r.t. printing the "-Werror" diagnostic option marker.
- The TextDiagnosticPrinter code is still fragile as it is just "reverse engineering" what the diagnostic engine is doing. Not my current priority to fix though.
llvm-svn: 140752
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSjLjLoweringPass.cpp')
0 files changed, 0 insertions, 0 deletions

