aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2018-09-03 10:18:21 +0000
committerEric Liu <ioeric@google.com>2018-09-03 10:18:21 +0000
commit83f63e42b2e15e4bc120253b9deae00a232a787d (patch)
treea3dac7148c425a7d3c1172bd55faada327818b5c /llvm/lib/CodeGen/LiveDebugValues.cpp
parent2e35c1e3992a8c49d9049d30edd22f5937e0408a (diff)
downloadllvm-83f63e42b2e15e4bc120253b9deae00a232a787d.zip
llvm-83f63e42b2e15e4bc120253b9deae00a232a787d.tar.gz
llvm-83f63e42b2e15e4bc120253b9deae00a232a787d.tar.bz2
[clangd] Support multiple #include headers in one symbol.
Summary: Currently, a symbol can have only one #include header attached, which might not work well if the symbol can be imported via different #includes depending on where it's used. This patch stores multiple #include headers (with # references) for each symbol, so that CodeCompletion can decide which include to insert. In this patch, code completion simply picks the most popular include as the default inserted header. We also return all possible includes and their edits in the `CodeCompletion` results. Reviewers: sammccall Reviewed By: sammccall Subscribers: mgrang, ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D51291 llvm-svn: 341304
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
0 files changed, 0 insertions, 0 deletions