aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/Analyses/FormatString.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-08-24 22:24:51 +0000
committerTed Kremenek <kremenek@apple.com>2010-08-24 22:24:51 +0000
commit9325eaf08fcccbc0d038e703f570c64daacdaa31 (patch)
tree3fe0fad021235b1707690aa05f1b0ceabe5f5cde /include/clang/Analysis/Analyses/FormatString.h
parent4020f8703a8822fe0d4efe4a0dc74f0b8040bd9f (diff)
Fix printf format string checking for '%lc' (which expects a wint_t or compatible argument). Fixes PR 7981.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/Analyses/FormatString.h')
-rw-r--r--include/clang/Analysis/Analyses/FormatString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/Analyses/FormatString.h b/include/clang/Analysis/Analyses/FormatString.h
index 3a5722a54a..280b1260ac 100644
--- a/include/clang/Analysis/Analyses/FormatString.h
+++ b/include/clang/Analysis/Analyses/FormatString.h
@@ -199,7 +199,7 @@ protected:
class ArgTypeResult {
public:
enum Kind { UnknownTy, InvalidTy, SpecificTy, ObjCPointerTy, CPointerTy,
- CStrTy, WCStrTy };
+ CStrTy, WCStrTy, WIntTy };
private:
const Kind K;
QualType T;