Home
last modified time | relevance | path

Searched refs:createRef (Results 1 – 11 of 11) sorted by relevance

/external/clang/tools/libclang/
DCIndex.cpp2945 return cxstring::createRef(FEnt->getName()); in clang_getFileName()
3137 return cxstring::createRef(CIMP->getIdentifier()->getNameStart()); in getDeclSpelling()
3157 return cxstring::createRef(Super->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
3161 return cxstring::createRef(Class->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
3166 return cxstring::createRef(OID->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
3204 return cxstring::createRef(Label->getName()); in clang_getCursorSpelling()
3231 return cxstring::createRef("<not implemented>"); in clang_getCursorSpelling()
3245 return cxstring::createRef(Label->getName()); in clang_getCursorSpelling()
3251 return cxstring::createRef(getCursorMacroExpansion(C).getName() in clang_getCursorSpelling()
3255 return cxstring::createRef(getCursorMacroDefinition(C)->getName() in clang_getCursorSpelling()
[all …]
DCXStoredDiagnostic.cpp51 return cxstring::createRef(Diag.getMessage()); in getSpelling()
65 *Disable = cxstring::createRef("-ferror-limit=0"); in getDiagnosticOption()
66 return cxstring::createRef("-ferror-limit="); in getDiagnosticOption()
78 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID)); in getCategoryText()
DCXString.h42 CXString createRef(const char *String);
54 CXString createRef(StringRef String);
66 CXString createRef(std::string String) LLVM_DELETED_FUNCTION;
DCXCompilationDatabase.cpp112 return cxstring::createRef(cmd->Directory.c_str()); in clang_CompileCommand_getDirectory()
135 return cxstring::createRef(Cmd->CommandLine[Arg].c_str()); in clang_CompileCommand_getArg()
DCXComment.cpp128 return cxstring::createRef(TC->getText()); in clang_TextComment_getText()
137 return cxstring::createRef(ICC->getCommandName(Traits)); in clang_InlineCommandComment_getCommandName()
176 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText()
184 return cxstring::createRef(HTC->getTagName()); in clang_HTMLTagComment_getTagName()
208 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()
216 return cxstring::createRef(HST->getAttr(AttrIdx).Value); in clang_HTMLStartTag_getAttrValue()
225 return cxstring::createRef(BCC->getCommandName(Traits)); in clang_BlockCommandComment_getCommandName()
242 return cxstring::createRef(BCC->getArgText(ArgIdx)); in clang_BlockCommandComment_getArgText()
258 return cxstring::createRef(PCC->getParamNameAsWritten()); in clang_ParamCommandComment_getParamName()
309 return cxstring::createRef(TPCC->getParamNameAsWritten()); in clang_TParamCommandComment_getParamName()
[all …]
DCXString.cpp59 CXString createRef(const char *String) { in createRef() function
82 CXString createRef(StringRef String) { in createRef() function
DCIndexCodeCompletion.cpp138 return cxstring::createRef((*CCStr)[chunk_number].Text); in clang_getCompletionChunkText()
213 return CCStr ? cxstring::createRef(CCStr->getAnnotation(annotation_number)) in clang_getCompletionAnnotation()
227 return cxstring::createRef(CCStr->getParentContextName()); in clang_getCompletionParent()
237 return cxstring::createRef(CCStr->getBriefComment()); in clang_getCompletionBriefComment()
910 return cxstring::createRef(Results->ContainerUSR.c_str()); in clang_codeCompleteGetContainerUSR()
DCIndexDiagnostic.cpp64 return cxstring::createRef(Message.c_str()); in getSpelling()
400 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(Category)); in clang_getDiagnosticCategoryName()
DCXType.cpp464 return cxstring::createRef(s); in clang_getTypeKindSpelling()
662 return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()
673 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()
DCXLoadedDiagnostic.cpp98 return cxstring::createRef(Spelling); in getSpelling()
137 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
DCXSourceLocation.cpp265 *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getPresumedLocation()