summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/UninitializedValues.cpp
diff options
context:
space:
mode:
authorTom Care <tcare@apple.com>2010-06-09 04:11:11 +0000
committerTom Care <tcare@apple.com>2010-06-09 04:11:11 +0000
commitb7042707795d88f7278a7e86ac9e13d60bf7101c (patch)
tree5e9e59797ebf39874a4c4e831487e5b990cf27f7 /clang/lib/Analysis/UninitializedValues.cpp
parentabacbe1351bc5e642f51cd8b96b87389358d686f (diff)
downloadbcm5719-llvm-b7042707795d88f7278a7e86ac9e13d60bf7101c.tar.gz
bcm5719-llvm-b7042707795d88f7278a7e86ac9e13d60bf7101c.zip
Added FixIt support to printf format string checking.
- Refactored LengthModifier to be a class. - Added toString methods in all member classes of FormatSpecifier. - FixIt suggestions keep user specified flags unless incorrect. Limitations: - The suggestions are not conversion specifier sensitive. For example, if we have a 'pad with zeroes' flag, and the correction is a string conversion specifier, we do not remove the flag. Clang will warn us on the next compilation. A test/Sema/format-strings-fixit.c M include/clang/Analysis/Analyses/PrintfFormatString.h M lib/Analysis/PrintfFormatString.cpp M lib/Sema/SemaChecking.cpp llvm-svn: 105680
Diffstat (limited to 'clang/lib/Analysis/UninitializedValues.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud