aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/FormatString.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-10-20Roll-back r250822.Angel Garcia Gomez1-1/+1
2015-10-20Apply modernize-use-default to clang.Angel Garcia Gomez1-1/+1
2015-05-18Wrap to 80 columns. No behavior change.Nico Weber1-1/+2
2015-03-04Add a format warning for "%p" with non-void* argsSeth Cantrell1-37/+45
2015-02-19Add support for analyzing FreeBSD kernel printf extensions.Dimitry Andric1-0/+16
2014-09-07MS format strings: parse the 'Z' printf conversion specifier (PR20808)Hans Wennborg1-1/+8
2014-09-04MS format strings: allow the 'h' length modifier with C, C, s and S (PR20808)Hans Wennborg1-1/+13
2014-09-04MS format strings: support the 'w' length modifier (PR20808)Hans Wennborg1-0/+15
2014-08-29Add a comment, no functional change.Nico Weber1-1/+1
2014-05-20[C++11] Use 'nullptr'. Analysis edition.Craig Topper1-3/+3
2013-08-21Analysis: Add support for MS specific printf format specifiersDavid Majnemer1-1/+45
2013-05-10Add support for __wchar_t in -fms-extensions mode.Hans Wennborg1-2/+2
2013-02-21Use None rather than Optional<T>() where possible.David Blaikie1-2/+2
2013-02-20Include llvm::Optional in clang/Basic/LLVM.hDavid Blaikie1-5/+4
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith1-1/+1
2012-09-13Format strings: offer a fixit for Darwin's %D/%U/%O to ISO %d/%u/%o.Jordan Rose1-0/+23
2012-09-13Format strings: %D, %U, and %O are valid on Darwin (same as %d, %u, %o).Jordan Rose1-0/+12
2012-09-08Format strings: suggest %lld instead of %qd and %Ld with -Wformat-non-iso.Jordan Rose1-11/+3
2012-09-08Format strings: %Ld isn't available on Darwin or Windows.Jordan Rose1-3/+27
2012-08-07Remove ScanfArgType and bake that logic into ArgType.Hans Wennborg1-18/+48
2012-08-07Rename analyze_format_string::ArgTypeResult to ArgTypeHans Wennborg1-10/+10
2012-07-31-Wformat: better handling of qualifiers on pointer argumentsHans Wennborg1-0/+7
2012-07-27Make -Wformat walk the typedef chain when looking for size_t, etc.Hans Wennborg1-0/+34
2012-06-04Teach printf/scanf about enums with fixed underlying types.Jordan Rose1-0/+6
2012-05-08Make -Wformat accept printf("%hhx", c); with -funsigned-charHans Wennborg1-2/+1
2012-05-04Fix handling of wint_t - we can't assume wint_t is purely an integer promotio...James Molloy1-10/+10
2012-03-15Support '%p' format specifier with block pointers.Ted Kremenek1-1/+1
2012-03-09-Wformat-non-iso: warn about positional arguments (pr12017)Hans Wennborg1-0/+3
2012-02-22Warn about non-standard format strings (pr12017)Hans Wennborg1-0/+71
2012-02-16Format string analysis: give 'q' its own enumerator.Hans Wennborg1-3/+6
2012-02-06Tweak format string checking to work with %@ and ObjC toll-free bridging. <r...Ted Kremenek1-3/+17
2012-01-31Format string warnings: don't a.k.a. wchar_t with wchar_t.Hans Wennborg1-1/+1
2012-01-25Fix NSLog format string checking for %@.Ted Kremenek1-1/+2
2012-01-24Teach scanf/printf checking about '%Ld' and friends (a GNU extension). Fixes...Ted Kremenek1-0/+8
2012-01-20The 'l' length modifier makes sense with the scanlist conversion specifier.Ted Kremenek1-0/+1
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie1-7/+3
2012-01-12scanf: parse the 'm' length modifier, and check that the right argumentsHans Wennborg1-0/+21
2012-01-12scanf analysis: the 'a' length modifier is valid with a scanlistHans Wennborg1-0/+1
2011-12-28Support the 'a' scanf length modifier as an extension in C++.Hans Wennborg1-1/+1
2011-12-15Support the 'a' length modifier in scanf format strings as a C90Hans Wennborg1-1/+28
2011-12-09Make printf warnings refer to wint_t and wchar_t by nameHans Wennborg1-5/+4
2011-12-09Move definition of ConversionSpecifier::toString() to FormatString.cppHans Wennborg1-4/+41
2011-12-07Make printf warnings refer to intmax_t et al. by nameHans Wennborg1-2/+9
2011-12-02Revert r145697 and dependent patch r145702. It added a dependency fromNick Lewycky1-12/+13
2011-12-02Make conversion specifier warning refer to typedef if possible.Hans Wennborg1-13/+12
2011-10-25Tweak printf format string parsing to accept 'hh' conversion specifier to acc...Ted Kremenek1-5/+21
2011-09-23Removing a bunch of dead returns/breaks after llvm_unreachables.David Blaikie1-2/+0
2011-09-23Switch assert(0/false) llvm_unreachable.David Blaikie1-2/+2
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-1/+1
2011-07-14Revert r135147 and r135075. The consensus was that this wasn't the right thi...Ted Kremenek1-14/+12