aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/PrintfFormatString.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-01-17Format strings: don't ever convert %+d to %lu.Jordan Rose1-1/+1
2013-01-17Format strings: correct signedness if already correcting width (%d,%u).Jordan Rose1-1/+19
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith1-1/+1
2012-12-05Format strings: offer a cast to 'unichar' for %C in Objective-C contexts.Jordan Rose1-3/+5
2012-12-05Format strings: the correct conversion for 'char' is %c, not %d or %hhd.Jordan Rose1-1/+1
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-1/+1
2012-09-13Format strings: %D, %U, and %O are valid on Darwin (same as %d, %u, %o).Jordan Rose1-3/+30
2012-09-10Remove redundant semicolons which are null statements.Dmitri Gribenko1-1/+1
2012-09-08Format strings: %Ld isn't available on Darwin or Windows.Jordan Rose1-3/+5
2012-08-07Properly check length modfiers for %n in format strings.Hans Wennborg1-2/+27
2012-08-07Remove ScanfArgType and bake that logic into ArgType.Hans Wennborg1-1/+1
2012-08-07Rename analyze_format_string::ArgTypeResult to ArgTypeHans Wennborg1-23/+23
2012-07-30Make -Wformat check the argument type for %n.Hans Wennborg1-0/+6
2012-07-27Make -Wformat walk the typedef chain when looking for size_t, etc.Hans Wennborg1-15/+2
2012-06-04Make suggestions for mismatched enum arguments to printf/scanf.Jordan Rose1-0/+4
2012-05-30Suggest '%@' for Objective-C objects in ObjC format strings.Jordan Rose1-1/+23
2012-02-16Format string analysis: give 'q' its own enumerator.Hans Wennborg1-2/+6
2012-02-15Make -Wformat fix-its preserve original conversion specifiers.Hans Wennborg1-4/+8
2012-01-31Let %S, %ls, %C match 16bit types in NSStrings.Nico Weber1-3/+10
2012-01-25Fix NSLog format string checking for %@.Ted Kremenek1-0/+2
2012-01-24Teach scanf/printf checking about '%Ld' and friends (a GNU extension). Fixes...Ted Kremenek1-2/+4
2012-01-12scanf: parse the 'm' length modifier, and check that the right argumentsHans Wennborg1-0/+2
2011-12-15Support the 'a' length modifier in scanf format strings as a C90Hans Wennborg1-4/+11
2011-12-09Remove unnecessary braces from my previous commit.Hans Wennborg1-2/+1
2011-12-09Make printf warnings refer to wint_t and wchar_t by nameHans Wennborg1-6/+9
2011-12-09Move definition of ConversionSpecifier::toString() to FormatString.cppHans Wennborg1-40/+0
2011-12-09fix format specifier fixit for printf("%ld", "foo");Hans Wennborg1-0/+2
2011-12-07Make printf warnings refer to intmax_t et al. by nameHans Wennborg1-4/+7
2011-12-02Revert r145697 and dependent patch r145702. It added a dependency fromNick Lewycky1-28/+5
2011-12-02Make r145697 actually work.Hans Wennborg1-1/+1
2011-12-02Make conversion specifier warning refer to typedef if possible.Hans Wennborg1-5/+28
2011-10-27Teach format string analysis that "%zu" means size_t.Hans Wennborg1-9/+5
2011-10-25Tweak printf format string parsing to accept 'hh' conversion specifier to acc...Ted Kremenek1-1/+1
2011-10-18More metaprogramming with builtin types.John McCall1-15/+9
2011-10-18Suggest %zu for size_t args to printf.Hans Wennborg1-1/+18
2011-10-17Add a new placeholder type to represent "unbridged"John McCall1-0/+1
2011-10-14Provide half floating point support as a storage only type.Anton Korobeynikov1-0/+1
2011-09-23Switch assert(0/false) llvm_unreachable.David Blaikie1-1/+1
2011-08-17Fix else style. No functionality change intended.Chad Rosier1-4/+2
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-1/+1
2011-06-28Revert r133024, "[format strings] correctly suggest correct type for '%@'Daniel Dunbar1-2/+0
2011-06-14[format strings] correctly suggest correct type for '%@' specifiers. Fixes <...Ted Kremenek1-0/+2
2011-04-27Don't print fixits for format specifiers in cases where the fixit does not ac...Eli Friedman1-12/+27
2011-04-25When generating printf fixits, preserve the original formating for unsigned i...Ted Kremenek1-1/+3
2011-01-27Fix whitespace.NAKAMURA Takumi1-4/+4
2011-01-277bit-ize.NAKAMURA Takumi1-1/+1
2011-01-08Add semantic checking that the "thousands grouping"Ted Kremenek1-0/+18
2011-01-08Add printf format string parsing support for 'Ted Kremenek1-1/+5
2010-12-25The -fshort-wchar option causes wchar_t to become unsigned, in addition to beingChris Lattner1-1/+2
2010-12-02Fix range in printf warnings for invalid conversion specifiers.Ted Kremenek1-1/+1