[PATCH] D13322: Add -f[no-]declspec to control recognition of __declspec as a keyword

Warren Ristow via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 10:18:34 PDT 2015


wristow updated this revision to Diff 36373.
wristow added a comment.

Added 4 new tests, the verify the last -fdeclspec/-fno-declspec wins, both in the context of -fms-extensions and without -fms-extensions.


http://reviews.llvm.org/D13322

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Basic/TokenKinds.def
  include/clang/Driver/Options.td
  include/clang/Parse/Parser.h
  lib/Basic/IdentifierTable.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Parse/ParseDecl.cpp
  test/Lexer/keywords_test.c
  test/Lexer/keywords_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13322.36373.patch
Type: text/x-patch
Size: 9848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151002/e107ae3e/attachment-0001.bin>


More information about the cfe-commits mailing list