]> granicus.if.org Git - clang/commit
In r149662, setDiagnosticMapping was modified to not allow warnings mapped to
authorChad Rosier <mcrosier@apple.com>
Tue, 7 Feb 2012 19:55:45 +0000 (19:55 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 7 Feb 2012 19:55:45 +0000 (19:55 +0000)
commit3f22509ebf91aa96658ca6e5c5c0b926d8d62e34
tree7ddfac4d92366c5509620ed3cba282e185c621c0
parent6bd17d2f2e6e498b0ff01e2e755f044de046d138
In r149662, setDiagnosticMapping was modified to not allow warnings mapped to
MAP_ERROR to be remapped to MAP_WARNING.  These new APIs are being added to
allow the diagnostic mapping's "no Werror" bit to be set, and potentially
downgrade anything already mapped to be a warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150001 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp