]> granicus.if.org Git - clang/commitdiff
Yet another attempt to make the Linux buildbots happy. Apparently there are differen...
authorTed Kremenek <kremenek@apple.com>
Fri, 29 Jan 2010 02:13:53 +0000 (02:13 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 29 Jan 2010 02:13:53 +0000 (02:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94790 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/PrintfFormatString.cpp

index fdeaddec35dd1c1f9aea62b31d415371edd1f646..3045fdd990f92e1f42d0ab8ae5dd6e4b1fe9e5ca 100644 (file)
@@ -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;