diff options
-rw-r--r-- | lib/Parse/ParseTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseTemplate.cpp b/lib/Parse/ParseTemplate.cpp index 4e7ceaa7c1..cf7d511697 100644 --- a/lib/Parse/ParseTemplate.cpp +++ b/lib/Parse/ParseTemplate.cpp @@ -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); } |