diff options
author | Eric Liu <ioeric@google.com> | 2018-06-04 11:31:55 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2018-06-04 11:31:55 +0000 |
commit | 77d1811e96e02164d40485e98369bdea44189855 (patch) | |
tree | 3694684f81f9b602d079532b6512906246f5ceb6 /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | 7228721b30ae81a0037263966f2f001eadae2493 (diff) | |
download | llvm-77d1811e96e02164d40485e98369bdea44189855.zip llvm-77d1811e96e02164d40485e98369bdea44189855.tar.gz llvm-77d1811e96e02164d40485e98369bdea44189855.tar.bz2 |
[clangd] Avoid indexing decls associated with friend decls.
Summary:
These decls are sometime used as the canonical declarations (e.g. for go-to-def),
which seems to be bad.
- friend decls that are not definitions should be ignored for indexing purposes
- this means they should never be selected as canonical decl
- if the friend decl is the only decl, then the symbol should not be indexed
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: mgorny, klimek, ilya-biryukov, MaskRay, jkorous, cfe-commits
Differential Revision: https://reviews.llvm.org/D47623
llvm-svn: 333885
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions