]> granicus.if.org Git - clang/commit
do not warn about unknown pragmas in modes that do not handle them (pr9537)
authorLubos Lunak <l.lunak@centrum.cz>
Thu, 1 May 2014 12:54:03 +0000 (12:54 +0000)
committerLubos Lunak <l.lunak@centrum.cz>
Thu, 1 May 2014 12:54:03 +0000 (12:54 +0000)
commitbce3e035079562c887a4e2e51e4d7e3a370290eb
tree43fe117f0907aab64fd999eb3d972cd4a0cf3875
parent40dd1a052066fdac52a4f3ee67b861b885424a73
do not warn about unknown pragmas in modes that do not handle them (pr9537)

And refactor to have just one place in code that sets up the empty
pragma handlers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207758 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Frontend/FrontendActions.cpp
lib/Frontend/PrintPreprocessedOutput.cpp
lib/Lex/Pragma.cpp
lib/Rewrite/Frontend/InclusionRewriter.cpp
test/Preprocessor/ignore-pragmas.c [new file with mode: 0644]