diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-02-20 22:59:51 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-02-20 22:59:51 +0000 |
| commit | 3f8bf21873f0276b3c991ab1ad3fb3d85781f6a5 (patch) | |
| tree | ee81c920a86fd0d69e6247ca553113e8db13ab6f /lib/CodeGen/CGExpr.cpp | |
| parent | 39f684003cf36ffb76435c6e1588f8d81f0f2748 (diff) | |
| download | clang-3f8bf21873f0276b3c991ab1ad3fb3d85781f6a5.tar.gz clang-3f8bf21873f0276b3c991ab1ad3fb3d85781f6a5.tar.bz2 clang-3f8bf21873f0276b3c991ab1ad3fb3d85781f6a5.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
