forked from OSchip/llvm-project
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:
parent
186ca60e51
commit
b3fc9fde2c
|
@ -72,7 +72,8 @@ static SlabTuple indexSymbols(ASTContext &AST, std::shared_ptr<Preprocessor> PP,
|
||||||
" relations slab: {7} relations, {8} bytes",
|
" relations slab: {7} relations, {8} bytes",
|
||||||
FileName, IsIndexMainAST, Syms.size(), Syms.bytes(), Refs.size(),
|
FileName, IsIndexMainAST, Syms.size(), Syms.bytes(), Refs.size(),
|
||||||
Refs.numRefs(), Refs.bytes(), Relations.size(), Relations.bytes());
|
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) {
|
SlabTuple indexMainDecls(ParsedAST &AST) {
|
||||||
|
|
Loading…
Reference in New Issue