From 6fdf38bfbd4d19b60b21498f07772ee30a0cca78 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Wed, 17 Aug 2011 23:08:45 +0000 Subject: Fix else style. No functionality change intended. llvm-svn: 137896 --- clang/lib/Analysis/PrintfFormatString.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'clang/lib/Analysis/PrintfFormatString.cpp') diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp index 8b23a071d98..eb018f1eb5f 100644 --- a/clang/lib/Analysis/PrintfFormatString.cpp +++ b/clang/lib/Analysis/PrintfFormatString.cpp @@ -38,8 +38,7 @@ static bool ParsePrecision(FormatStringHandler &H, PrintfSpecifier &FS, unsigned *argIndex) { if (argIndex) { FS.setPrecision(ParseNonPositionAmount(Beg, E, *argIndex)); - } - else { + } else { const OptionalAmount Amt = ParsePositionAmount(H, Start, Beg, E, analyze_format_string::PrecisionPos); if (Amt.isInvalid()) @@ -461,8 +460,7 @@ bool PrintfSpecifier::fixType(QualType QT) { CS.setKind(ConversionSpecifier::uArg); HasAlternativeForm = 0; HasPlusPrefix = 0; - } - else { + } else { assert(0 && "Unexpected type"); } -- cgit v1.2.3