[cfe-commits] r74383 - /cfe/trunk/lib/Parse/Parser.cpp
Eli Friedman
eli.friedman at gmail.com
Sat Jun 27 01:17:04 PDT 2009
Author: efriedma
Date: Sat Jun 27 03:17:02 2009
New Revision: 74383
URL: http://llvm.org/viewvc/llvm-project?rev=74383&view=rev
Log:
Fix screwup with my previous patch which broke tests. (The patch is
making sure we return true when annotating a function template with
explicit template arguments, but not when we don't annotate anything.)
Modified:
cfe/trunk/lib/Parse/Parser.cpp
Modified: cfe/trunk/lib/Parse/Parser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/Parser.cpp?rev=74383&r1=74382&r2=74383&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/Parser.cpp (original)
+++ cfe/trunk/lib/Parse/Parser.cpp Sat Jun 27 03:17:02 2009
@@ -963,7 +963,7 @@
}
if (SS.isEmpty())
- return Tok.isNot(tok::identifier);
+ return Tok.isNot(tok::identifier) && Tok.isNot(tok::coloncolon);
// A C++ scope specifier that isn't followed by a typename.
// Push the current token back into the token stream (or revert it if it is
More information about the cfe-commits
mailing list