r188854 - Remove more uses of 'index' as namespace scope.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Tue Aug 20 18:51:19 PDT 2013
Author: akirtzidis
Date: Tue Aug 20 20:51:19 2013
New Revision: 188854
URL: http://llvm.org/viewvc/llvm-project?rev=188854&view=rev
Log:
Remove more uses of 'index' as namespace scope.
Follow up to r188850.
Modified:
cfe/trunk/tools/libclang/CIndexUSRs.cpp
Modified: cfe/trunk/tools/libclang/CIndexUSRs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndexUSRs.cpp?rev=188854&r1=188853&r2=188854&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndexUSRs.cpp (original)
+++ cfe/trunk/tools/libclang/CIndexUSRs.cpp Tue Aug 20 20:51:19 2013
@@ -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(con
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(c
}
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
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
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);
More information about the cfe-commits
mailing list