From 3f4ec31b58536d69c8da924e90548af70fa037d0 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 21 Aug 2013 01:51:19 +0000 Subject: [PATCH] Remove more uses of 'index' as namespace scope. Follow up to r188850. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188854 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/libclang/CIndexUSRs.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/libclang/CIndexUSRs.cpp b/tools/libclang/CIndexUSRs.cpp index 37f0411514..2b43c5b375 100644 --- a/tools/libclang/CIndexUSRs.cpp +++ b/tools/libclang/CIndexUSRs.cpp @@ -85,7 +85,7 @@ CXString clang_getCursorUSR(CXCursor C) { } CXString clang_constructUSR_ObjCIvar(const char *name, CXString classUSR) { - SmallString<128> Buf(index::getUSRSpacePrefix()); + SmallString<128> Buf(getUSRSpacePrefix()); llvm::raw_svector_ostream OS(Buf); OS << extractUSRSuffix(clang_getCString(classUSR)); generateUSRForObjCIvar(name, OS); @@ -95,7 +95,7 @@ CXString clang_constructUSR_ObjCIvar(const char *name, CXString classUSR) { CXString clang_constructUSR_ObjCMethod(const char *name, unsigned isInstanceMethod, CXString classUSR) { - SmallString<128> Buf(index::getUSRSpacePrefix()); + SmallString<128> Buf(getUSRSpacePrefix()); llvm::raw_svector_ostream OS(Buf); OS << extractUSRSuffix(clang_getCString(classUSR)); generateUSRForObjCMethod(name, isInstanceMethod, OS); @@ -103,14 +103,14 @@ CXString clang_constructUSR_ObjCMethod(const char *name, } CXString clang_constructUSR_ObjCClass(const char *name) { - SmallString<128> Buf(index::getUSRSpacePrefix()); + SmallString<128> Buf(getUSRSpacePrefix()); llvm::raw_svector_ostream OS(Buf); generateUSRForObjCClass(name, OS); return cxstring::createDup(OS.str()); } CXString clang_constructUSR_ObjCProtocol(const char *name) { - SmallString<128> Buf(index::getUSRSpacePrefix()); + SmallString<128> Buf(getUSRSpacePrefix()); llvm::raw_svector_ostream OS(Buf); generateUSRForObjCProtocol(name, OS); return cxstring::createDup(OS.str()); @@ -118,7 +118,7 @@ CXString clang_constructUSR_ObjCProtocol(const char *name) { CXString clang_constructUSR_ObjCCategory(const char *class_name, const char *category_name) { - SmallString<128> Buf(index::getUSRSpacePrefix()); + SmallString<128> Buf(getUSRSpacePrefix()); llvm::raw_svector_ostream OS(Buf); generateUSRForObjCCategory(class_name, category_name, OS); return cxstring::createDup(OS.str()); @@ -126,7 +126,7 @@ CXString clang_constructUSR_ObjCCategory(const char *class_name, CXString clang_constructUSR_ObjCProperty(const char *property, CXString classUSR) { - SmallString<128> Buf(index::getUSRSpacePrefix()); + SmallString<128> Buf(getUSRSpacePrefix()); llvm::raw_svector_ostream OS(Buf); OS << extractUSRSuffix(clang_getCString(classUSR)); generateUSRForObjCProperty(property, OS); -- 2.40.0