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