From 2c9a91c2907e7b1caba1423c743042efe933d8f6 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 10 Nov 2009 21:29:56 +0000 Subject: [PATCH] Silence warning. llvm-svn: 86719 --- clang/lib/Parse/ParseTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Parse/ParseTemplate.cpp b/clang/lib/Parse/ParseTemplate.cpp index 4e7ceaa7c14b..cf7d511697f7 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); }