summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/FormatString.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Don't warn when matching %p to nullptr.Anders Carlsson2010-11-061-2/+2
| | | | llvm-svn: 118344
* Fix printf format string checking for '%lc' (which expects a wint_t or ↵Ted Kremenek2010-08-241-0/+21
| | | | | | compatible argument). Fixes PR 7981. llvm-svn: 111978
* Detabify.Eli Friedman2010-08-221-1/+1
| | | | llvm-svn: 111768
* Revert r109428 "Hoist argument type checking into CheckFormatHandler. This ↵Michael J. Spencer2010-07-271-3/+1
| | | | | | | | is prep for scanf format" Got errors about ASTContext being undefined with Visual Studio 2010. llvm-svn: 109491
* Hoist argument type checking into CheckFormatHandler. This is prep for ↵Ted Kremenek2010-07-261-1/+3
| | | | | | | | scanf format string argument type checking. llvm-svn: 109428
* Move 'hasValidLengthModifier' from PrintfFormatSpecifier to FormatSpecifier.Ted Kremenek2010-07-201-2/+75
| | | | llvm-svn: 108906
* Add most of the boilerplate support for scanf format string checking. This ↵Ted Kremenek2010-07-161-0/+380
includes handling the parsing of scanf format strings and hooking the checking into Sema. Most of this checking logic piggybacks on what was already there for checking printf format strings, but the checking logic has been refactored to support both. What is left to be done is to support argument type checking in format strings and of course fix the usual tail of bugs that will follow. llvm-svn: 108500
OpenPOWER on IntegriCloud