aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2018-05-15 15:29:32 +0000
committerEric Liu <ioeric@google.com>2018-05-15 15:29:32 +0000
commit63f419a5c676360440aa4e8cb94e9a6d7a4c6133 (patch)
treec60896c865638d428eead9cb9b9ce8c0834d1837 /llvm/unittests/Support/CommandLineTest.cpp
parent2c1905386c0c4e73dc4e729a76f1095acdff2d2f (diff)
downloadllvm-63f419a5c676360440aa4e8cb94e9a6d7a4c6133.zip
llvm-63f419a5c676360440aa4e8cb94e9a6d7a4c6133.tar.gz
llvm-63f419a5c676360440aa4e8cb94e9a6d7a4c6133.tar.bz2
[clangd] Populate #include insertions as additional edits in completion items.
Summary: o Remove IncludeInsertion LSP command. o Populate include insertion edits synchromously in completion items. o Share the code completion compiler instance and precompiled preamble to get existing inclusions in main file. o Include insertion logic lives only in CodeComplete now. o Use tooling::HeaderIncludes for inserting new includes. o Refactored tests. Reviewers: sammccall Reviewed By: sammccall Subscribers: klimek, ilya-biryukov, MaskRay, jkorous, cfe-commits Differential Revision: https://reviews.llvm.org/D46497 llvm-svn: 332363
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions