diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-07-27 04:46:02 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-07-27 04:46:02 +0000 |
commit | 2c35bc1232d899c7dad2ca805f2986b4b79db350 (patch) | |
tree | 27d955a6a34e1245c1bdce831cd140466f9abf00 /clang/lib/Analysis | |
parent | 1bec81a8889f58d47e505ccdfc365404868218d4 (diff) | |
download | bcm5719-llvm-2c35bc1232d899c7dad2ca805f2986b4b79db350.tar.gz bcm5719-llvm-2c35bc1232d899c7dad2ca805f2986b4b79db350.zip |
Revert r109428 "Hoist argument type checking into CheckFormatHandler. This is prep for scanf format"
Got errors about ASTContext being undefined with Visual Studio 2010.
llvm-svn: 109491
Diffstat (limited to 'clang/lib/Analysis')
-rw-r--r-- | clang/lib/Analysis/FormatString.cpp | 4 | ||||
-rw-r--r-- | clang/lib/Analysis/ScanfFormatString.cpp | 6 |
2 files changed, 1 insertions, 9 deletions
diff --git a/clang/lib/Analysis/FormatString.cpp b/clang/lib/Analysis/FormatString.cpp index 2c012d35066..0fbe54353eb 100644 --- a/clang/lib/Analysis/FormatString.cpp +++ b/clang/lib/Analysis/FormatString.cpp @@ -379,11 +379,9 @@ void OptionalAmount::toString(llvm::raw_ostream &os) const { } //===----------------------------------------------------------------------===// -// Methods on FormatSpecifier. +// Methods on ConversionSpecifier. //===----------------------------------------------------------------------===// -FormatSpecifier::~FormatSpecifier() {} - bool FormatSpecifier::hasValidLengthModifier() const { switch (LM.getKind()) { case LengthModifier::None: diff --git a/clang/lib/Analysis/ScanfFormatString.cpp b/clang/lib/Analysis/ScanfFormatString.cpp index 4c2c4c6fb9f..6a8673ab55c 100644 --- a/clang/lib/Analysis/ScanfFormatString.cpp +++ b/clang/lib/Analysis/ScanfFormatString.cpp @@ -218,10 +218,4 @@ bool clang::analyze_format_string::ParseScanfString(FormatStringHandler &H, return false; } -ArgTypeResult ScanfSpecifier::getArgType(ASTContext &Ctx) const { - // FIXME: Fill in. - return ArgTypeResult(); -} - - |