]> granicus.if.org Git - clang/commitdiff
Remove redundant check.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 4 Dec 2013 01:01:51 +0000 (01:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 4 Dec 2013 01:01:51 +0000 (01:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196338 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/Parser.cpp

index c4c0898661b7428936e0d9c24f81ecffe1a4fe7d..66ed352ef68fe15e6d0df5b6788755957ec0d68b 100644 (file)
@@ -1740,10 +1740,7 @@ bool Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(bool EnteringContext,
       // annotation token to a type annotation token now.
       AnnotateTemplateIdTokenAsType();
       return false;
-    } else if (TemplateId->Kind == TNK_Var_template)
-      // FIXME: This looks suspicious. Why are we not annotating the scope token
-      // in this case?
-      return false;
+    }
   }
 
   if (SS.isEmpty())