summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJohan Vikstrom <jvikstrom@google.com>2019-07-15 15:08:27 +0000
committerJohan Vikstrom <jvikstrom@google.com>2019-07-15 15:08:27 +0000
commit4e34a85aa2e74154a9dd48f32d5dc75cb1e7c5bd (patch)
tree428c786d08c2b24db9e894709aba47f370301923 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcb238de456ba2db699d969858eddbc0971c8592c (diff)
[clangd] Fix duplicate highlighting tokens appearing in initializer lists.
Summary: The RecursiveASTVisitor sometimes visits exprs in initializer lists twice. Added deduplication to prevent duplicate highlighting tokens from appearing. Done by sorting and a linear search. Reviewers: hokein, sammccall, ilya-biryukov Subscribers: MaskRay, jkorous, mgrang, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D64634 llvm-svn: 366070
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions