Fix else style. No functionality change intended.

llvm-svn: 137896
This commit is contained in:
Chad Rosier
2011-08-17 23:08:45 +00:00
parent e3bdcd0ea8
commit 6fdf38bfbd
10 changed files with 21 additions and 33 deletions

View File

@@ -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");
}