aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/Analyses/PrintfFormatString.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-02-04 20:46:58 +0000
committerTed Kremenek <kremenek@apple.com>2010-02-04 20:46:58 +0000
commit74d56a168966ff015824279a24aaf566180ed97d (patch)
treec1a354f985e441cdbc6b44fc75ffbcb7cd901dca /include/clang/Analysis/Analyses/PrintfFormatString.h
parent789b1f640205e81b5af250693246120f1ce9d147 (diff)
Move ParseFormatString() and FormatStringHandler back into the analyze_printf namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/Analyses/PrintfFormatString.h')
-rw-r--r--include/clang/Analysis/Analyses/PrintfFormatString.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Analysis/Analyses/PrintfFormatString.h b/include/clang/Analysis/Analyses/PrintfFormatString.h
index 46f23ce3e2..a5c0b23c2d 100644
--- a/include/clang/Analysis/Analyses/PrintfFormatString.h
+++ b/include/clang/Analysis/Analyses/PrintfFormatString.h
@@ -234,8 +234,6 @@ public:
bool hasLeadingZeros() const { return (bool) HasLeadingZeroes; }
};
-} // end printf namespace
-
class FormatStringHandler {
public:
FormatStringHandler() {}
@@ -261,6 +259,6 @@ public:
bool ParseFormatString(FormatStringHandler &H,
const char *beg, const char *end);
-
+} // end printf namespace
} // end clang namespace
#endif