llvm-project/clang/lib/Parse
Saleem Abdulrasool d170c4b57a Add -f[no-]declspec to control recognition of __declspec as a keyword
In versions of clang prior to r238238, __declspec was recognized as a keyword in
all modes.  It was then changed to only be enabled when Microsoft or Borland
extensions were enabled (and for CUDA, as a temporary measure).  There is a
desire to support __declspec in Playstation code, and possibly other
environments.  This commit adds a command-line switch to allow explicit
enabling/disabling of the recognition of __declspec as a keyword.  Recognition
is enabled by default in Microsoft, Borland, CUDA, and PS4 environments, and
disabled in all other environments.

Patch by Warren Ristow!

llvm-svn: 249279
2015-10-04 17:51:05 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile
ParseAST.cpp Restore PrettyStackTrace state on crash. 2015-08-07 17:48:57 +00:00
ParseCXXInlineMethods.cpp Rework parsing of pure-specifiers. Perform the grammar matching and 2015-06-30 01:28:56 +00:00
ParseDecl.cpp Add -f[no-]declspec to control recognition of __declspec as a keyword 2015-10-04 17:51:05 +00:00
ParseDeclCXX.cpp SourceRanges are small and trivially copyable, don't them by reference. 2015-10-04 04:53:55 +00:00
ParseExpr.cpp Modify DeclaratorChuck::getFunction to be passed an Exception Specification SourceRange 2015-08-26 04:19:36 +00:00
ParseExprCXX.cpp Modify DeclaratorChuck::getFunction to be passed an Exception Specification SourceRange 2015-08-26 04:19:36 +00:00
ParseInit.cpp Silence a -Wunused-variable warning; NFC. 2015-07-07 13:21:26 +00:00
ParseObjc.cpp [modules] When we see a definition of a function for which we already have a 2015-08-21 03:04:33 +00:00
ParseOpenMP.cpp [OPENMP 4.1] Add 'simd' clause for 'ordered' directive. 2015-09-28 06:39:35 +00:00
ParsePragma.cpp Add new llvm.loop.unroll.enable metadata for use with "#pragma unroll". 2015-08-10 17:29:39 +00:00
ParseStmt.cpp [Modules] More descriptive diagnostics for misplaced import directive 2015-09-19 05:32:57 +00:00
ParseStmtAsm.cpp Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
ParseTemplate.cpp Parsing, semantic analysis, and AST for Objective-C type parameters. 2015-07-07 03:57:15 +00:00
ParseTentative.cpp Implement the Objective-C __kindof type qualifier. 2015-07-07 03:58:42 +00:00
Parser.cpp [Modules] More descriptive diagnostics for misplaced import directive 2015-09-19 05:32:57 +00:00
RAIIObjectsForParser.h Add a new error for unexpected semi-colon before closing delimiter. 2015-05-12 21:36:35 +00:00