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 | 2a0cd59f8e15a39244feb7a6008b311dd009fcec (patch) | |
tree | 864c82eaf475e1cdcf31c511bb3bdf6539acd4d4 /clang/lib/Analysis/PrintfFormatString.cpp | |
parent | 227077d1bec801b8e021b0c5b05240dd731a72f1 (diff) | |
download | bcm5719-llvm-2a0cd59f8e15a39244feb7a6008b311dd009fcec.tar.gz bcm5719-llvm-2a0cd59f8e15a39244feb7a6008b311dd009fcec.zip |
Convert tabs to spaces.
llvm-svn: 95621
Diffstat (limited to 'clang/lib/Analysis/PrintfFormatString.cpp')
-rw-r--r-- | clang/lib/Analysis/PrintfFormatString.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp index 6e603faf729..28d6b4f0e70 100644 --- a/clang/lib/Analysis/PrintfFormatString.cpp +++ b/clang/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)); |