Skip to content
Commit 72492394 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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
parent 0421ce7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment