forked from OSchip/llvm-project
Fix buildbot problems after rC330794
Avoiding error: no matching function for call to 'makeArrayRef' at ../tools/clang/lib/Parse/ParseTemplate.cpp:373:17 By using a local C array as input to makeArrayRef. Not sure if this is the best solution, but it makes the code compile again. llvm-svn: 330802
This commit is contained in:
parent
773ead2908
commit
3dd22c9898
|
@ -370,7 +370,8 @@ Parser::ParseConceptDefinition(SourceLocation ConceptLoc,
|
|||
if (DSC != DeclSpecContext::DSC_template_param) {
|
||||
SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch);
|
||||
} else {
|
||||
SkipUntil(llvm::makeArrayRef({tok::comma, tok::greater}),
|
||||
tok::TokenKind Tokens[] = { tok::comma, tok::greater };
|
||||
SkipUntil(llvm::makeArrayRef(Tokens),
|
||||
StopAtSemi | StopBeforeMatch);
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue