aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/PrintfFormatString.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2010-11-21The 'X' printf type has a valid alternative form. Fixes PR8641.Anders Carlsson1-1/+2
2010-10-21Previously, the printf warnings would say your arguments type was 'int' when ...Ted Kremenek1-1/+15
2010-08-24Fix printf format string checking for '%lc' (which expects a wint_t or compat...Ted Kremenek1-0/+8
2010-07-20Move 'hasValidLengthModifier' from PrintfFormatSpecifier to FormatSpecifier.Ted Kremenek1-68/+0
2010-07-20Cleanup whitespace in switch statement. No functionality change.Ted Kremenek1-6/+7
2010-07-20Add 'ConversionSpecifier' root class in 'analyze_format_string' namespace andTed Kremenek1-2/+5
2010-07-20Rename 'UnicodeStrArg' to 'SArg'.Ted Kremenek1-3/+3
2010-07-20Rename 'ConsumedSoFarArg' -> 'nArg' and 'OutIntPtrArg' to 'nArg' (scanf and p...Ted Kremenek1-6/+6
2010-07-20Rename 'VoidPtrArg' to 'pArg' in printf/scanf checking.Ted Kremenek1-4/+4
2010-07-20Rename 'CStrArg' to 'sArg' for printf checking to match with the analagous en...Ted Kremenek1-6/+6
2010-07-20Rename analyze_printf::ConversionSpecifier::IntAsCharArg to 'cArg' to matchTed Kremenek1-4/+4
2010-07-16Add most of the boilerplate support for scanf format string checking. This i...Ted Kremenek1-405/+43
2010-06-22Type Type::isRealFloatingType() that vectors are not floating-pointDouglas Gregor1-1/+1
2010-06-18Printf format strings: Added some more tests and fixed some minor bugs.Tom Care1-3/+4
2010-06-17Bug 7394 - Fixed toString representation of Precisions in format strings.Tom Care1-0/+3
2010-06-17Bug 7377: Fixed several bad printf format string bugs.Tom Care1-11/+234
2010-06-16Extend format string type-checking to include '%p'. Fixes remaining cases PR...Ted Kremenek1-76/+92
2010-06-11Small fixes regarding printf fix suggestions.Tom Care1-0/+8
2010-06-09Fix a typo that breaks the GCC build. Turns out that Clang isn'tDouglas Gregor1-1/+1
2010-06-09Added FixIt support to printf format string checking.Tom Care1-33/+228
2010-03-25Fix '+=' accumulation error when parsing numeric amounts in a format string.Ted Kremenek1-1/+1
2010-03-01Allow a '0' precision in format strings (as the man page says it is okay).Ted Kremenek1-10/+18
2010-02-27For printf format string checking, add support for positional format strings.Ted Kremenek1-15/+134
2010-02-26For printf format string checking, move the tracking of the data argument ind...Ted Kremenek1-13/+21
2010-02-24Add support for '%C' and '%S' printf conversion specifiers.Ted Kremenek1-22/+35
2010-02-16Refactor the logic for printf argument type-checking into analyze_printf::Arg...Ted Kremenek1-32/+143
2010-02-09Convert tabs to spaces.Ted Kremenek1-5/+5
2010-02-04Move ParseFormatString() and FormatStringHandler back into the analyze_printf...Ted Kremenek1-2/+4
2010-02-01Add format string type checking support for 'long double'.Ted Kremenek1-1/+4
2010-01-30Recognize 'q' as a format length modifier (from BSD).Daniel Dunbar1-0/+1
2010-01-30Add format string checking of 'double' arguments. Fixes <rdar://problem/6931...Ted Kremenek1-0/+3
2010-01-29Fix spacing.Ted Kremenek1-1/+1
2010-01-29Per a suggestion from Cristian Draghici, add a method to FormatSpecifier that...Ted Kremenek1-0/+53
2010-01-29Enhancements to the alternate (WIP) format string checking:Ted Kremenek1-2/+10
2010-01-29Alternate format string checking: issue warnings for incomplete format specif...Ted Kremenek1-13/+11
2010-01-29Alternate format string checking: issue a warning for invalid conversion spec...Ted Kremenek1-13/+18
2010-01-29Yet another attempt to make the Linux buildbots happy. Apparently there are ...Ted Kremenek1-4/+7
2010-01-29Move definition of FormatStringHandler::~FormatStringHandler() within namespa...Ted Kremenek1-1/+1
2010-01-29Add precision/field width checking to AlternateCheckPrintfString().Ted Kremenek1-4/+6