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

Ted Kremenek kremenek at apple.com
Tue Jan 6 11:17:58 PST 2009


Author: kremenek
Date: Tue Jan  6 13:17:58 2009
New Revision: 61820

URL: http://llvm.org/viewvc/llvm-project?rev=61820&view=rev
Log:
Add whitespace to silence the following warning in a Release build: warning: suggest a space before ';' or explicit braces around empty body in 'while' statement

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=61820&r1=61819&r2=61820&view=diff

==============================================================================
--- cfe/trunk/lib/Parse/ParseExprCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExprCXX.cpp Tue Jan  6 13:17:58 2009
@@ -526,7 +526,7 @@
     return true;
   }
   
-  while (ParseOptionalTypeSpecifier(DS, isInvalid, PrevSpec));
+  while (ParseOptionalTypeSpecifier(DS, isInvalid, PrevSpec)) ;
 
   return false;
 }





More information about the cfe-commits mailing list