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
This commit is contained in:
Ted Kremenek 2010-01-29 02:13:53 +00:00
Родитель d9f473c27e
Коммит 4b220fae2f
1 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -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,9 +83,12 @@ static OptionalAmount ParseAmount(const char *&Beg, const char *E) {
return OptionalAmount();
}
static FormatSpecifierResult ParseFormatSpecifier(FormatStringHandler &H,
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;
UpdateOnReturn <const char*> UpdateBeg(Beg, I);