aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-10-07 20:35:25 +0000
committerDouglas Gregor <dgregor@apple.com>2011-10-07 20:35:25 +0000
commit8828ee7faa42f889ade3bb635dc5f1338be671b1 (patch)
treeaa873d3b0d08e8f3d37241561095a8e77c3a00c8
parentdbc68bd28d5868f3b1b5179add40b33cec7bea07 (diff)
Add braces around do-while body. The lack of them gives me the chills
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141411 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Parse/ParseDeclCXX.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp
index 5d7a7729f1..1ec6fcbaed 100644
--- a/lib/Parse/ParseDeclCXX.cpp
+++ b/lib/Parse/ParseDeclCXX.cpp
@@ -2689,9 +2689,9 @@ void Parser::ParseCXX0XAttributes(ParsedAttributesWithRange &attrs,
if (!endLoc)
endLoc = &Loc;
- do
+ do {
ParseCXX0XAttributeSpecifier(attrs, endLoc);
- while (isCXX0XAttributeSpecifier());
+ } while (isCXX0XAttributeSpecifier());
attrs.Range = SourceRange(StartLoc, *endLoc);
}