aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringPool.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2020-02-27 16:02:44 +0100
committerKadir Cetinkaya <kadircet@google.com>2020-03-02 13:31:12 +0100
commitc24c89d6f0f55bb95995b4f5587c791ac8d738fc (patch)
treefc5ac38f023563f96f06e318d44e0ddfdfffeda4 /llvm/lib/Support/StringPool.cpp
parent7d594cf003d1325a1d85a339c03b720fe63de4c9 (diff)
downloadllvm-c24c89d6f0f55bb95995b4f5587c791ac8d738fc.zip
llvm-c24c89d6f0f55bb95995b4f5587c791ac8d738fc.tar.gz
llvm-c24c89d6f0f55bb95995b4f5587c791ac8d738fc.tar.bz2
[clangd] Get rid of unnecessary source transformations in locateMacroAt
Summary: All callers are already passing spelling locations to locateMacroAt. Also there's no point at looking at macro expansion for figuring out undefs as it is forbidden to have PP directives inside macro bodies. Also fixes a bug when the previous sourcelocation is unavailable. Reviewers: sammccall, hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75259
Diffstat (limited to 'llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions