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

Nikola Smiljanic popizdeh at gmail.com
Fri Jan 11 00:33:06 PST 2013


Author: nikola
Date: Fri Jan 11 02:33:05 2013
New Revision: 172185

URL: http://llvm.org/viewvc/llvm-project?rev=172185&view=rev
Log:
Pass false instead of 0 since isStar parameter of getArray has type bool. No functionality change.

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=172185&r1=172184&r2=172185&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Fri Jan 11 02:33:05 2013
@@ -5119,7 +5119,7 @@
     MaybeParseCXX11Attributes(attrs);
 
     // Remember that we parsed a array type, and remember its features.
-    D.AddTypeInfo(DeclaratorChunk::getArray(0, false, 0,
+    D.AddTypeInfo(DeclaratorChunk::getArray(0, false, false,
                                             ExprRes.release(),
                                             T.getOpenLocation(),
                                             T.getCloseLocation()),





More information about the cfe-commits mailing list