diff options
author | Eric Liu <ioeric@google.com> | 2019-02-11 15:05:29 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2019-02-11 15:05:29 +0000 |
commit | d11fbf523d9ee55e1bc41556a61e3650ee2f35cc (patch) | |
tree | 03b20b15d2b4d4bd4397d714f3f4631699e2896b /lldb/source/Core/Module.cpp | |
parent | 3331b6eab3976fbfa2afc196d37667036f3f4967 (diff) | |
download | bcm5719-llvm-d11fbf523d9ee55e1bc41556a61e3650ee2f35cc.tar.gz bcm5719-llvm-d11fbf523d9ee55e1bc41556a61e3650ee2f35cc.zip |
[clangd] Prefer location from codegen files when merging symbols.
Summary:
For example, if an index symbol has location in a .proto file and an AST symbol
has location in a generated .proto.h file, then we prefer location in .proto
which is more meaningful to users.
Also use `mergeSymbols` to get the preferred location between AST location and index location in go-to-def.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58037
llvm-svn: 353708
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions