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

Eli Friedman eli.friedman at gmail.com
Wed Aug 8 16:35:13 PDT 2012


Author: efriedma
Date: Wed Aug  8 18:35:12 2012
New Revision: 161539

URL: http://llvm.org/viewvc/llvm-project?rev=161539&view=rev
Log:
Fix r161534 so it actually builds.


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=161539&r1=161538&r2=161539&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Wed Aug  8 18:35:12 2012
@@ -2826,8 +2826,7 @@
     MaybeParseGNUAttributes(DeclaratorInfo.D);
 
     // We're done with this declarator;  invoke the callback.
-    Decl *D = Fields.invoke(DeclaratorInfo);
-    PD.complete(D);
+    Fields.invoke(DeclaratorInfo);
 
     // If we don't have a comma, it is either the end of the list (a ';')
     // or an error, bail out.





More information about the cfe-commits mailing list