]> granicus.if.org Git - clang/commit
[ms] Parse #pragma optimize and ignore it behind its own flag
authorHans Wennborg <hans@hanshq.net>
Tue, 20 Mar 2018 08:53:11 +0000 (08:53 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 20 Mar 2018 08:53:11 +0000 (08:53 +0000)
commit73fed20ccfe3c439d8568756463c79a032e7c9e0
tree7678a8ca656806ae236964e0157b91d4c76e2226
parent94cbbb825727057c7378c573b4093c58b667da80
[ms] Parse #pragma optimize and ignore it behind its own flag

This allows users to turn off warnings about this pragma specifically,
while still receiving warnings about other ignored pragmas.

Differential Revision: https://reviews.llvm.org/D44630

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327959 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Parse/Parser.h
lib/Parse/ParsePragma.cpp
test/Preprocessor/pragma_microsoft.c