[cfe-commits] r119971 - /cfe/trunk/lib/Parse/ParseDecl.cpp

Nico Weber nicolasweber at gmx.de
Mon Nov 22 05:48:02 PST 2010


Author: nico
Date: Mon Nov 22 07:48:02 2010
New Revision: 119971

URL: http://llvm.org/viewvc/llvm-project?rev=119971&view=rev
Log:
Remove the other FIXME I added. This is covered by the Index test and not testable via -ast-dump.

Modified:
    cfe/trunk/lib/Parse/ParseDecl.cpp

Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=119971&r1=119970&r2=119971&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Mon Nov 22 07:48:02 2010
@@ -1083,8 +1083,6 @@
     case tok::annot_typename: {
       if (Tok.getAnnotationValue()) {
         ParsedType T = getTypeAnnotation(Tok);
-        // FIXME: This should probably pass getAnnotationEndLoc() instead of
-        // Loc, but that breaks test/Index/recursive-cxx-member-calls.cpp.
         isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typename, Loc, PrevSpec,
                                        DiagID, T);
       } else





More information about the cfe-commits mailing list