aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PrintfFormatString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
-rw-r--r--lib/Analysis/PrintfFormatString.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Analysis/PrintfFormatString.cpp b/lib/Analysis/PrintfFormatString.cpp
index 6e603faf72..28d6b4f0e7 100644
--- a/lib/Analysis/PrintfFormatString.cpp
+++ b/lib/Analysis/PrintfFormatString.cpp
@@ -196,11 +196,11 @@ static FormatSpecifierResult ParseFormatSpecifier(FormatStringHandler &H,
H.HandleIncompleteFormatSpecifier(Start, E - Start);
return true;
}
-
+
if (*I == '\0') {
- // Detect spurious null characters, which are likely errors.
- H.HandleNullChar(I);
- return true;
+ // Detect spurious null characters, which are likely errors.
+ H.HandleNullChar(I);
+ return true;
}
// Finally, look for the conversion specifier.
@@ -231,7 +231,7 @@ static FormatSpecifierResult ParseFormatSpecifier(FormatStringHandler &H,
case '%': k = ConversionSpecifier::PercentArg; break;
// Objective-C.
case '@': k = ConversionSpecifier::ObjCObjArg; break;
- // Glibc specific.
+ // Glibc specific.
case 'm': k = ConversionSpecifier::PrintErrno; break;
}
FS.setConversionSpecifier(ConversionSpecifier(conversionPosition, k));