aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/FormatString.cpp
AgeCommit message (Expand)Author
2013-02-21Use None rather than Optional<T>() where possible.David Blaikie
2013-02-20Include llvm::Optional in clang/Basic/LLVM.hDavid Blaikie
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith
2012-09-13Format strings: offer a fixit for Darwin's %D/%U/%O to ISO %d/%u/%o.Jordan Rose
2012-09-13Format strings: %D, %U, and %O are valid on Darwin (same as %d, %u, %o).Jordan Rose
2012-09-08Format strings: suggest %lld instead of %qd and %Ld with -Wformat-non-iso.Jordan Rose
2012-09-08Format strings: %Ld isn't available on Darwin or Windows.Jordan Rose
2012-08-07Remove ScanfArgType and bake that logic into ArgType.Hans Wennborg
2012-08-07Rename analyze_format_string::ArgTypeResult to ArgTypeHans Wennborg
2012-07-31-Wformat: better handling of qualifiers on pointer argumentsHans Wennborg
2012-07-27Make -Wformat walk the typedef chain when looking for size_t, etc.Hans Wennborg
2012-06-04Teach printf/scanf about enums with fixed underlying types.Jordan Rose
2012-05-08Make -Wformat accept printf("%hhx", c); with -funsigned-charHans Wennborg
2012-05-04Fix handling of wint_t - we can't assume wint_t is purely an integer promotio...James Molloy
2012-03-15Support '%p' format specifier with block pointers.Ted Kremenek
2012-03-09-Wformat-non-iso: warn about positional arguments (pr12017)Hans Wennborg
2012-02-22Warn about non-standard format strings (pr12017)Hans Wennborg
2012-02-16Format string analysis: give 'q' its own enumerator.Hans Wennborg
2012-02-06Tweak format string checking to work with %@ and ObjC toll-free bridging. <r...Ted Kremenek
2012-01-31Format string warnings: don't a.k.a. wchar_t with wchar_t.Hans Wennborg
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-20The 'l' length modifier makes sense with the scanlist conversion specifier.Ted Kremenek
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-12scanf: parse the 'm' length modifier, and check that the right argumentsHans Wennborg
2012-01-12scanf analysis: the 'a' length modifier is valid with a scanlistHans Wennborg
2011-12-28Support the 'a' scanf length modifier as an extension in C++.Hans Wennborg
2011-12-15Support the 'a' length modifier in scanf format strings as a C90Hans 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-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 conversion specifier warning refer to typedef if possible.Hans Wennborg
2011-10-25Tweak printf format string parsing to accept 'hh' conversion specifier to acc...Ted Kremenek
2011-09-23Removing a bunch of dead returns/breaks after llvm_unreachables.David Blaikie
2011-09-23Switch assert(0/false) llvm_unreachable.David Blaikie
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-07-14Revert r135147 and r135075. The consensus was that this wasn't the right thi...Ted Kremenek
2011-07-14Add extra sanity checking in FormatString::matchesType() that we are comparin...Ted Kremenek
2011-07-14Reapply r135075, but modify format-strings.c and format-strings-fixit.c test ...Ted Kremenek
2011-07-14Revert r135075, "format string checking: long and int have the same widths on...NAKAMURA Takumi
2011-07-13format string checking: long and int have the same widths on 32-bit, so we sh...Ted Kremenek
2011-07-13Re-relax conversion specifier checking for printf format strings and conversi...Ted Kremenek
2011-07-13Fix inversion in argument type checking for format strings with conversion sp...Ted Kremenek
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
2010-11-06Don't warn when matching %p to nullptr.Anders Carlsson
2010-08-24Fix printf format string checking for '%lc' (which expects a wint_t or compat...Ted Kremenek
2010-08-22Detabify.Eli Friedman
2010-07-27Revert r109428 "Hoist argument type checking into CheckFormatHandler. This i...Michael J. Spencer