]> granicus.if.org Git - clang/commit
Basic/Diagnostics: Apparently, #pragma ... diagnostic is intended to override
authorDaniel Dunbar <daniel@zuster.org>
Tue, 4 Oct 2011 21:17:24 +0000 (21:17 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 4 Oct 2011 21:17:24 +0000 (21:17 +0000)
commit53201a86f775c064b62ec25742106c7b43ba8749
treee557279098cbe93fff291bd307a3bc1e7d0dc9c4
parent5d0ea6d62e076c776ddad028c4eb615783be1323
Basic/Diagnostics: Apparently, #pragma ... diagnostic is intended to override
the command line options (at least according to GCC's documentation). GCC 4.2
didn't appear to actually do this, but it seems like that has been fixed in
later release, so we will follow the docs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/Diagnostic.cpp
test/Frontend/warning-mapping-5.c [new file with mode: 0644]