[PATCH] D44630: [ms] Parse #pragma optimize and ignore it behind its own flag

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 19 08:33:48 PDT 2018


hans created this revision.
hans added reviewers: thakis, rnk.

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


https://reviews.llvm.org/D44630

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Parse/Parser.h
  lib/Parse/ParsePragma.cpp
  test/Preprocessor/pragma_microsoft.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44630.138940.patch
Type: text/x-patch
Size: 7704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180319/ad0a38dd/attachment-0001.bin>


More information about the cfe-commits mailing list