[cfe-commits] r97077 - /cfe/trunk/lib/Parse/ParseExprCXX.cpp

Douglas Gregor dgregor at apple.com
Wed Feb 24 15:13:13 PST 2010


Author: dgregor
Date: Wed Feb 24 17:13:13 2010
New Revision: 97077

URL: http://llvm.org/viewvc/llvm-project?rev=97077&view=rev
Log:
Make sure that we finish the DeclSpec when parsing a C++
type-specifier-seq. Fixes some conditional-jump-on-unitialized-value
errors in valgrind. Also counts as attempt #2 at making the MSVC
buildbot happy.

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

Modified: cfe/trunk/lib/Parse/ParseExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExprCXX.cpp?rev=97077&r1=97076&r2=97077&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExprCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExprCXX.cpp Wed Feb 24 17:13:13 2010
@@ -889,6 +889,7 @@
          ParsedTemplateInfo(), /*SuppressDeclarations*/true))
   {}
 
+  DS.Finish(Diags, PP);
   return false;
 }
 





More information about the cfe-commits mailing list