[cfe-commits] r94790 - /cfe/trunk/lib/Analysis/PrintfFormatString.cpp
Ted Kremenek
kremenek at apple.com
Thu Jan 28 18:13:53 PST 2010
Author: kremenek
Date: Thu Jan 28 20:13:53 2010
New Revision: 94790
URL: http://llvm.org/viewvc/llvm-project?rev=94790&view=rev
Log:
Yet another attempt to make the Linux buildbots happy. Apparently there are differences on how nested namespaces are handled...
Modified:
cfe/trunk/lib/Analysis/PrintfFormatString.cpp
Modified: cfe/trunk/lib/Analysis/PrintfFormatString.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/PrintfFormatString.cpp?rev=94790&r1=94789&r2=94790&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/PrintfFormatString.cpp (original)
+++ cfe/trunk/lib/Analysis/PrintfFormatString.cpp Thu Jan 28 20:13:53 2010
@@ -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 @@
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;
More information about the cfe-commits
mailing list