]> granicus.if.org Git - clang/commit
implement "#pragma GCC diagnostic". Besides being a nice feature, this
authorChris Lattner <sabre@nondot.org>
Sun, 19 Apr 2009 23:16:58 +0000 (23:16 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 19 Apr 2009 23:16:58 +0000 (23:16 +0000)
commitedaf877d2469147ba818187a3e57a00b3f73b123
tree79a3999fe3611062cdddc55a0f8bbd1e37ea05af
parent3bc172bc6a787842db6fea351cf6929539fca70d
implement "#pragma GCC diagnostic".  Besides being a nice feature, this
will let us test for multiple different warning modes in the same
file in regression tests.

This implements rdar://2362963, a 10-year old feature request :)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69560 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/Pragma.cpp