aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PrintfFormatString.cpp
AgeCommit message (Expand)Author
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
2010-11-21The 'X' printf type has a valid alternative form. Fixes PR8641.Anders Carlsson
2010-10-21Previously, the printf warnings would say your arguments type was 'int' when ...Ted Kremenek
2010-08-24Fix printf format string checking for '%lc' (which expects a wint_t or compat...Ted Kremenek
2010-07-20Move 'hasValidLengthModifier' from PrintfFormatSpecifier to FormatSpecifier.Ted Kremenek
2010-07-20Cleanup whitespace in switch statement. No functionality change.Ted Kremenek
2010-07-20Add 'ConversionSpecifier' root class in 'analyze_format_string' namespace andTed Kremenek
2010-07-20Rename 'UnicodeStrArg' to 'SArg'.Ted Kremenek
2010-07-20Rename 'ConsumedSoFarArg' -> 'nArg' and 'OutIntPtrArg' to 'nArg' (scanf and p...Ted Kremenek
2010-07-20Rename 'VoidPtrArg' to 'pArg' in printf/scanf checking.Ted Kremenek
2010-07-20Rename 'CStrArg' to 'sArg' for printf checking to match with the analagous en...Ted Kremenek
2010-07-20Rename analyze_printf::ConversionSpecifier::IntAsCharArg to 'cArg' to matchTed Kremenek
2010-07-16Add most of the boilerplate support for scanf format string checking. This i...Ted Kremenek
2010-06-22Type Type::isRealFloatingType() that vectors are not floating-pointDouglas Gregor
2010-06-18Printf format strings: Added some more tests and fixed some minor bugs.Tom Care
2010-06-17Bug 7394 - Fixed toString representation of Precisions in format strings.Tom Care
2010-06-17Bug 7377: Fixed several bad printf format string bugs.Tom Care