diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-02-04 19:18:35 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-02-04 19:18:35 +0000 |
| commit | 6ee824e41dd3b6ed62dc1fabd4809cef7eb4ea37 (patch) | |
| tree | b9bfdf3cccbdbe64a68c6dc6bff0ca3c7bb43146 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | b3a4bdd8aaf30212c037d9ca00c67376e84c5a68 (diff) | |
| download | clang-6ee824e41dd3b6ed62dc1fabd4809cef7eb4ea37.tar.gz clang-6ee824e41dd3b6ed62dc1fabd4809cef7eb4ea37.tar.bz2 clang-6ee824e41dd3b6ed62dc1fabd4809cef7eb4ea37.tar.xz | |
Fix whitespace handling in empty macro expansions
When a macro expansion does not result in any tokens, and the macro name
is preceded by whitespace, the whitespace should be passed to the first
token that follows the macro expansion. Similarly when a macro expansion
ends with a placemarker token, and that placemarker token is preceded by
whitespace. This worked already for top-level macro expansions, but is
now extended to also work for nested macro expansions.
Patch by Harald van Dijk!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
