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

Douglas Gregor dgregor at apple.com
Wed Jun 16 08:28:57 PDT 2010


Author: dgregor
Date: Wed Jun 16 10:28:57 2010
New Revision: 106101

URL: http://llvm.org/viewvc/llvm-project?rev=106101&view=rev
Log:
Add some missing parentheses, from Anton Yartsev

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=106101&r1=106100&r2=106101&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Wed Jun 16 10:28:57 2010
@@ -3465,7 +3465,7 @@
     default:
       break;
     }
-  } else if (Tok.getIdentifierInfo() == Ident_pixel &&
+  } else if ((Tok.getIdentifierInfo() == Ident_pixel) &&
              DS.isTypeAltiVecVector()) {
     isInvalid = DS.SetTypeAltiVecPixel(true, Loc, PrevSpec, DiagID);
     return true;





More information about the cfe-commits mailing list