[cfe-commits] r86719 - /cfe/trunk/lib/Parse/ParseTemplate.cpp
Benjamin Kramer
benny.kra at googlemail.com
Tue Nov 10 13:29:56 PST 2009
Author: d0k
Date: Tue Nov 10 15:29:56 2009
New Revision: 86719
URL: http://llvm.org/viewvc/llvm-project?rev=86719&view=rev
Log:
Silence warning.
Modified:
cfe/trunk/lib/Parse/ParseTemplate.cpp
Modified: cfe/trunk/lib/Parse/ParseTemplate.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseTemplate.cpp?rev=86719&r1=86718&r2=86719&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseTemplate.cpp (original)
+++ cfe/trunk/lib/Parse/ParseTemplate.cpp Tue Nov 10 15:29:56 2009
@@ -803,7 +803,7 @@
}
/// \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);
}
More information about the cfe-commits
mailing list