Fix gcc-05.4 bot failures caused by in r363481 "[clangd] Index API and implementations for relations"

Use std::make_tuple instead of initializer list to make gcc-5.4 happy.

See https://reviews.llvm.org/D62839 for details.

llvm-svn: 363504
This commit is contained in:
Don Hinton 2019-06-16 01:09:41 +00:00
parent 186ca60e51
commit b3fc9fde2c
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ static SlabTuple indexSymbols(ASTContext &AST, std::shared_ptr<Preprocessor> PP,
" relations slab: {7} relations, {8} bytes",
FileName, IsIndexMainAST, Syms.size(), Syms.bytes(), Refs.size(),
Refs.numRefs(), Refs.bytes(), Relations.size(), Relations.bytes());
return {std::move(Syms), std::move(Refs), std::move(Relations)};
return std::make_tuple(std::move(Syms), std::move(Refs),
std::move(Relations));
}
SlabTuple indexMainDecls(ParsedAST &AST) {