[clang-tools-extra] r332520 - Second attempt to fix buildbot failure caused by r332363
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed May 16 13:31:38 PDT 2018
Author: ioeric
Date: Wed May 16 13:31:38 2018
New Revision: 332520
URL: http://llvm.org/viewvc/llvm-project?rev=332520&view=rev
Log:
Second attempt to fix buildbot failure caused by r332363
http://lab.llvm.org:8011/builders/clang-x86_64-linux-abi-test/builds/26501
Modified:
clang-tools-extra/trunk/clangd/CodeComplete.cpp
Modified: clang-tools-extra/trunk/clangd/CodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/CodeComplete.cpp?rev=332520&r1=332519&r2=332520&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/CodeComplete.cpp (original)
+++ clang-tools-extra/trunk/clangd/CodeComplete.cpp Wed May 16 13:31:38 2018
@@ -1067,10 +1067,11 @@ SignatureHelp signatureHelp(PathRef File
Options.IncludeMacros = false;
Options.IncludeCodePatterns = false;
Options.IncludeBriefComments = false;
+ std::vector<Inclusion> PreambleInclusions = {}; // Unused for signatureHelp
semaCodeComplete(llvm::make_unique<SignatureHelpCollector>(Options, Result),
Options,
- {FileName, Command, Preamble, std::vector<Inclusion>(),
- Contents, Pos, std::move(VFS), std::move(PCHs)});
+ {FileName, Command, Preamble, PreambleInclusions, Contents,
+ Pos, std::move(VFS), std::move(PCHs)});
return Result;
}
More information about the cfe-commits
mailing list