diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-29 02:13:53 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-29 02:13:53 +0000 |
commit | 4b220fae2f525fda39685ddfa7759950db1185e2 (patch) | |
tree | 17139654402febcb0fd4ef9682a607f5e6d5ca37 /lib/Analysis/PrintfFormatString.cpp | |
parent | d9f473c27e2c58f7c9c8a75338e74adfc6ac6e7f (diff) |
Yet another attempt to make the Linux buildbots happy. Apparently there are differences on how nested namespaces are handled...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
-rw-r--r-- | lib/Analysis/PrintfFormatString.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Analysis/PrintfFormatString.cpp b/lib/Analysis/PrintfFormatString.cpp index fdeaddec35..3045fdd990 100644 --- a/lib/Analysis/PrintfFormatString.cpp +++ b/lib/Analysis/PrintfFormatString.cpp @@ -14,8 +14,8 @@ #include "clang/Analysis/Analyses/PrintfFormatString.h" -using namespace clang; -using namespace clang::analyze_printf; +using clang::analyze_printf::FormatSpecifier; +using clang::analyze_printf::OptionalAmount; namespace { class FormatSpecifierResult { @@ -83,8 +83,11 @@ static OptionalAmount ParseAmount(const char *&Beg, const char *E) { return OptionalAmount(); } -static FormatSpecifierResult ParseFormatSpecifier(FormatStringHandler &H, - const char *&Beg, const char *E) { +static FormatSpecifierResult +ParseFormatSpecifier(clang::analyze_printf::FormatStringHandler &H, + const char *&Beg, const char *E) { + + using namespace clang::analyze_printf; const char *I = Beg; const char *Start = 0; |