Author: dgregor
Date: Fri Oct 7 15:35:25 2011
New Revision: 141411
URL: http://llvm.org/viewvc/llvm-project?rev=141411&view=rev
Log:
Add braces around do-while body. The lack of them gives me the chills
Modified:
cfe/trunk/lib/Parse/ParseDeclCXX.cpp
Modified: cfe/trunk/lib/Parse/ParseDeclCXX.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDeclCXX.cpp?rev=141411&r1=141410&r2=141411&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDeclCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDeclCXX.cpp Fri Oct 7 15:35:25 2011
@@ -2689,9 +2689,9 @@
if (!endLoc)
endLoc = &Loc;
- do
+ do {
ParseCXX0XAttributeSpecifier(attrs, endLoc);
- while (isCXX0XAttributeSpecifier());
+ } while (isCXX0XAttributeSpecifier());
attrs.Range = SourceRange(StartLoc, *endLoc);
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits