From 8828ee7faa42f889ade3bb635dc5f1338be671b1 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 7 Oct 2011 20:35:25 +0000 Subject: [PATCH] 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 --- lib/Parse/ParseDeclCXX.cpp | 4 ++-- 1 file 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); } -- 2.50.1