diff options
author | Haojian Wu <hokein@google.com> | 2016-11-14 14:46:48 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2016-11-14 14:46:48 +0000 |
commit | 2467539800aa1d896b5214fcc29597d7aee2f126 (patch) | |
tree | f7a907309bc8743822a7fa28133cbd2037506542 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 27fed8e5d636d67ed5e2dff77705dcae1fcd0b15 (diff) | |
download | llvm-2467539800aa1d896b5214fcc29597d7aee2f126.zip llvm-2467539800aa1d896b5214fcc29597d7aee2f126.tar.gz llvm-2467539800aa1d896b5214fcc29597d7aee2f126.tar.bz2 |
[clang-move] Fix an incorrect range for the functions whose returned value is a macro
Summary:
Fix an incorrect range for the functions whose returned value is a macro
(e.g. `bool`). This incorrect range can lead to modifications of an unexpected
file where the macro is in.
We should use expansion location instead of spelling location.
Reviewers: ioeric
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D26609
llvm-svn: 286833
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions