[cfe-commits] r95621 - /cfe/trunk/lib/Analysis/PrintfFormatString.cpp
Ted Kremenek
kremenek at apple.com
Mon Feb 8 16:04:09 PST 2010
Author: kremenek
Date: Mon Feb 8 18:04:09 2010
New Revision: 95621
URL: http://llvm.org/viewvc/llvm-project?rev=95621&view=rev
Log:
Convert tabs to spaces.
Modified:
cfe/trunk/lib/Analysis/PrintfFormatString.cpp
Modified: cfe/trunk/lib/Analysis/PrintfFormatString.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/PrintfFormatString.cpp?rev=95621&r1=95620&r2=95621&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/PrintfFormatString.cpp (original)
+++ cfe/trunk/lib/Analysis/PrintfFormatString.cpp Mon Feb 8 18:04:09 2010
@@ -196,11 +196,11 @@
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 @@
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));
More information about the cfe-commits
mailing list