aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-08-07 05:01:49 +0000
committerTed Kremenek <kremenek@apple.com>2012-08-07 05:01:49 +0000
commit724923945bacb6893063947e585a56fd36388ed3 (patch)
tree149a6f786aaec5a76c656a59480ec4b02f5ebb61 /llvm/lib/CodeGen/MachineCSE.cpp
parent0421ce7b225fbc4e2b9610453090835125580055 (diff)
downloadllvm-724923945bacb6893063947e585a56fd36388ed3.zip
llvm-724923945bacb6893063947e585a56fd36388ed3.tar.gz
llvm-724923945bacb6893063947e585a56fd36388ed3.tar.bz2
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> llvm-svn: 161389
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions