diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-07-26 19:45:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-07-26 19:45:54 +0000 |
commit | f762905bdefad77f91c7c6782a9c17e6b274d393 (patch) | |
tree | 6067506e43e636361daa51dbd42fc3a7fceae0b1 /lib/Analysis/FormatString.cpp | |
parent | 666a197deb75d95c78ddd39274af1a54240828d8 (diff) |
Hoist argument type checking into CheckFormatHandler. This is prep for scanf format
string argument type checking.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/FormatString.cpp')
-rw-r--r-- | lib/Analysis/FormatString.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/FormatString.cpp b/lib/Analysis/FormatString.cpp index 0fbe54353e..2c012d3506 100644 --- a/lib/Analysis/FormatString.cpp +++ b/lib/Analysis/FormatString.cpp @@ -379,9 +379,11 @@ void OptionalAmount::toString(llvm::raw_ostream &os) const { } //===----------------------------------------------------------------------===// -// Methods on ConversionSpecifier. +// Methods on FormatSpecifier. //===----------------------------------------------------------------------===// +FormatSpecifier::~FormatSpecifier() {} + bool FormatSpecifier::hasValidLengthModifier() const { switch (LM.getKind()) { case LengthModifier::None: |