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 | df4472bca047021628419ca1f26ba0db622d4dac (patch) | |
tree | f9338605a2906239b9d6421c5b3aa181720d70d0 /clang/lib/Analysis/FormatString.cpp | |
parent | 6adb7e35ab9a09a60f7088c757d30502c5a7b19a (diff) | |
download | bcm5719-llvm-df4472bca047021628419ca1f26ba0db622d4dac.tar.gz bcm5719-llvm-df4472bca047021628419ca1f26ba0db622d4dac.zip |
Hoist argument type checking into CheckFormatHandler. This is prep for scanf format
string argument type checking.
llvm-svn: 109428
Diffstat (limited to 'clang/lib/Analysis/FormatString.cpp')
-rw-r--r-- | clang/lib/Analysis/FormatString.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Analysis/FormatString.cpp b/clang/lib/Analysis/FormatString.cpp index 0fbe54353eb..2c012d35066 100644 --- a/clang/lib/Analysis/FormatString.cpp +++ b/clang/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: |