diff options
Diffstat (limited to 'clang/lib/Parse/ParseTemplate.cpp')
-rw-r--r-- | clang/lib/Parse/ParseTemplate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseTemplate.cpp b/clang/lib/Parse/ParseTemplate.cpp index 4e7ceaa7c14..cf7d511697f 100644 --- a/clang/lib/Parse/ParseTemplate.cpp +++ b/clang/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); } |