aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/FormatString.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-07-27 04:46:02 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-07-27 04:46:02 +0000
commit96827eb52405a71c65c200949f3e644368e86454 (patch)
tree3e7254b9dc5eaa4bacd765500a57e4773daca8bb /lib/Analysis/FormatString.cpp
parent5e04bdde8e74d991feffe9cf95d731f7e473dbb7 (diff)
Revert r109428 "Hoist argument type checking into CheckFormatHandler. This is prep for scanf format"
Got errors about ASTContext being undefined with Visual Studio 2010. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109491 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/FormatString.cpp')
-rw-r--r--lib/Analysis/FormatString.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/FormatString.cpp b/lib/Analysis/FormatString.cpp
index 2c012d3506..0fbe54353e 100644
--- a/lib/Analysis/FormatString.cpp
+++ b/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: