diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-08-07 05:01:49 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-08-07 05:01:49 +0000 |
commit | 4a535368eb4fca10b05c442e04725747dbf76081 (patch) | |
tree | 7dbb7bdae5a857f4ea12dd57d30b875ea4845cd7 /lib/Analysis/FormatString.cpp | |
parent | 8ae4ec28451a16a57718286da3e476fc2f495c3f (diff) |
Enhance ClangDiagnosticsEmitter to reject diagnostics that are errors that are also
included in warning groups. Warning groups can only contain warnings, because only
warnings can be mapped to errors or ignored.
This caught a few diagnostics that were incorrectly in diagnostic groups, and
could have resulted in a compiler crash when those diagnostic groups were mapped.
Fixes <rdar://problem/12044436>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/FormatString.cpp')
0 files changed, 0 insertions, 0 deletions