diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-09 00:04:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-09 00:04:09 +0000 |
commit | df17f9d95ba03ba41d8d39ccb688a4eb2ee00e9a (patch) | |
tree | 5a34c514538fd094dd22b39131ce11564dcbafd5 /lib/Analysis/PrintfFormatString.cpp | |
parent | c6b7003fb42d4e4af661b0c77d3d7b4c7db11f2c (diff) |
Convert tabs to spaces.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
-rw-r--r-- | lib/Analysis/PrintfFormatString.cpp | 10 |
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)); |