forked from OSchip/llvm-project
Change clang_getUSR() to return a CXString instead of a 'const char *'.
llvm-svn: 93213
This commit is contained in:
parent
46157971e9
commit
87be3617e3
|
@ -329,7 +329,7 @@ CINDEX_LINKAGE time_t clang_getFileTime(CXFile SFile);
|
|||
* in a specified translation unit. */
|
||||
CINDEX_LINKAGE CXDecl clang_getDeclaration(CXEntity, CXTranslationUnit);
|
||||
|
||||
CINDEX_LINKAGE const char *clang_getUSR(CXEntity);
|
||||
CINDEX_LINKAGE CXString clang_getUSR(CXEntity);
|
||||
/*
|
||||
* CXDecl Operations.
|
||||
*/
|
||||
|
|
|
@ -74,8 +74,8 @@ CXEntity clang_getEntityFromDecl(CXIndex CIdx, CXDecl CE) {
|
|||
return NullCXEntity();
|
||||
}
|
||||
|
||||
const char *clang_getUSR(CXEntity) {
|
||||
return "";
|
||||
CXString clang_getUSR(CXEntity) {
|
||||
return CIndexer::createCXString("");
|
||||
}
|
||||
|
||||
} // end extern "C"
|
||||
|
|
Loading…
Reference in New Issue