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 | 176f7d6ef05b0cbaa29e8ee97585fa29ccf86b4d (patch) | |
tree | 54b33eae1fcb89f04c1fdf0829ae583829f841ce /clang/lib/Analysis/PrintfFormatString.cpp | |
parent | 18c352605f7f9df3cc9251079832eae184e4e6dd (diff) | |
download | bcm5719-llvm-176f7d6ef05b0cbaa29e8ee97585fa29ccf86b4d.tar.gz bcm5719-llvm-176f7d6ef05b0cbaa29e8ee97585fa29ccf86b4d.zip |
Yet another attempt to make the Linux buildbots happy. Apparently there are differences on how nested namespaces are handled...
llvm-svn: 94790
Diffstat (limited to 'clang/lib/Analysis/PrintfFormatString.cpp')
-rw-r--r-- | clang/lib/Analysis/PrintfFormatString.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp index fdeaddec35d..3045fdd990f 100644 --- a/clang/lib/Analysis/PrintfFormatString.cpp +++ b/clang/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; |