summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-06-24 21:39:51 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-06-24 21:39:51 +0000
commit5e69f27ef7086287519d0c04192108d322bd6e82 (patch)
treef22d6b6e1cb7608fe022fd0449acd6d01ce7131c /llvm/lib/Transforms
parent80258425999be15db29b18a3aecda7fb3db37ea6 (diff)
downloadbcm5719-llvm-5e69f27ef7086287519d0c04192108d322bd6e82.tar.gz
bcm5719-llvm-5e69f27ef7086287519d0c04192108d322bd6e82.zip
[Syntax] Do not glue multiple empty PP expansions to a single mapping
Summary: This change makes sure we have a single mapping for each macro expansion, even if the result of expansion was empty. To achieve that, we take information from PPCallbacks::MacroExpands into account. Previously we relied only on source locations of expanded tokens. Reviewers: sammccall Reviewed By: sammccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62953 llvm-svn: 364236
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud