forked from OSchip/llvm-project
parent
ad5ef3d70f
commit
2c9a91c290
|
@ -803,7 +803,7 @@ void Parser::AnnotateTemplateIdTokenAsType(const CXXScopeSpec *SS) {
|
|||
}
|
||||
|
||||
/// \brief Determine whether the given token can end a template argument.
|
||||
static const bool isEndOfTemplateArgument(Token Tok) {
|
||||
static bool isEndOfTemplateArgument(Token Tok) {
|
||||
return Tok.is(tok::comma) || Tok.is(tok::greater) ||
|
||||
Tok.is(tok::greatergreater);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue