aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-02-20 22:59:51 +0000
committerReid Kleckner <reid@kleckner.net>2014-02-20 22:59:51 +0000
commit0e73ec45502af2d7cf4cd459cf3cc70a8509faf3 (patch)
treeeddc9d31d0c78014aa74615b1a719efcac799b7b /clang/lib/Frontend/CompilerInvocation.cpp
parent5b0864695b190d02799ad5213514a96d9ee2beed (diff)
downloadllvm-0e73ec45502af2d7cf4cd459cf3cc70a8509faf3.zip
llvm-0e73ec45502af2d7cf4cd459cf3cc70a8509faf3.tar.gz
llvm-0e73ec45502af2d7cf4cd459cf3cc70a8509faf3.tar.bz2
Expand macros in pragmas with -fms-extensions and -E
gcc never expands macros in pragmas and MSVC always expands macros before processing pragmas. Clang usually allows macro expansion, except in a handful of pragmas, most of which are handled by the lexer. Also remove PPCallbacks for pragmas that are currently handled in the parser. Without a Parser, such as with clang -E, these callbacks would never be called. Fixes PR18576. llvm-svn: 201821
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions