]> granicus.if.org Git - clang/commit
when creating custom warning diagnostics, do not attempt to map
authorChris Lattner <sabre@nondot.org>
Sat, 2 May 2009 19:34:21 +0000 (19:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 2 May 2009 19:34:21 +0000 (19:34 +0000)
commita7e1898e6b84ed7911d1f25c975b27b78a4950cb
tree949361b32871d19f99b25cb8e4bfa286975e32d6
parentdd924e256e85a8486d571b8e95a30a9fa38092fa
when creating custom warning diagnostics, do not attempt to map
them with -Werror.  Custom diags cannot be mapped, and this makes
-Werror cause a determinstic crash for the checker and other
clients of the custom diagnostics machinery.  rdar://6816191

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