]> granicus.if.org Git - clang/commit
Accept #pragma warning(push, 0) without warning
authorReid Kleckner <reid@kleckner.net>
Wed, 2 Oct 2013 15:19:23 +0000 (15:19 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 2 Oct 2013 15:19:23 +0000 (15:19 +0000)
commit72c26c0d47eb850db18b784403260bce0632c478
treee71f86344391f72b75c52d47c5b6e96ff3e237e1
parent4a966d3fa21710660cedf20d44d7a8e8809dc56d
Accept #pragma warning(push, 0) without warning

This partially addresses PR17435, but it doesn't actually implement the
pragma.  If we implement it, we should map levels 1-4 to something like
-Wall and level 0 to something like -w.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191833 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Lex/Pragma.cpp
test/Preprocessor/pragma_microsoft.c
test/Preprocessor/pragma_microsoft.cpp