Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndex.cpp3893 return cxstring::createRef(FEnt->getName()); in clang_getFileName()
4105 return cxstring::createRef(CIMP->getIdentifier()->getNameStart()); in getDeclSpelling()
4125 return cxstring::createRef(Super->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
4129 return cxstring::createRef(Class->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
4134 return cxstring::createRef(OID->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
4172 return cxstring::createRef(Label->getName()); in clang_getCursorSpelling()
4199 return cxstring::createRef("<not implemented>"); in clang_getCursorSpelling()
4229 return cxstring::createRef(Label->getName()); in clang_getCursorSpelling()
4235 return cxstring::createRef(getCursorMacroExpansion(C).getName() in clang_getCursorSpelling()
4239 return cxstring::createRef(getCursorMacroDefinition(C)->getName() in clang_getCursorSpelling()
[all …]
DCXComment.cpp136 return cxstring::createRef(TC->getText()); in clang_TextComment_getText()
145 return cxstring::createRef(ICC->getCommandName(Traits)); in clang_InlineCommandComment_getCommandName()
184 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText()
192 return cxstring::createRef(HTC->getTagName()); in clang_HTMLTagComment_getTagName()
216 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()
224 return cxstring::createRef(HST->getAttr(AttrIdx).Value); in clang_HTMLStartTag_getAttrValue()
233 return cxstring::createRef(BCC->getCommandName(Traits)); in clang_BlockCommandComment_getCommandName()
250 return cxstring::createRef(BCC->getArgText(ArgIdx)); in clang_BlockCommandComment_getArgText()
266 return cxstring::createRef(PCC->getParamNameAsWritten()); in clang_ParamCommandComment_getParamName()
317 return cxstring::createRef(TPCC->getParamNameAsWritten()); in clang_TParamCommandComment_getParamName()
[all …]
DCXCompilationDatabase.cpp111 return cxstring::createRef(cmd->Directory.c_str()); in clang_CompileCommand_getDirectory()
121 return cxstring::createRef(cmd->Filename.c_str()); in clang_CompileCommand_getFilename()
144 return cxstring::createRef(Cmd->CommandLine[Arg].c_str()); in clang_CompileCommand_getArg()
167 return cxstring::createRef(Cmd->MappedSources[I].first.c_str()); in clang_CompileCommand_getMappedSourcePath()
181 return cxstring::createRef(Cmd->MappedSources[I].second.c_str()); in clang_CompileCommand_getMappedSourceContent()
DCXStoredDiagnostic.cpp53 return cxstring::createRef(Diag.getMessage()); in getSpelling()
67 *Disable = cxstring::createRef("-ferror-limit=0"); in getDiagnosticOption()
68 return cxstring::createRef("-ferror-limit="); in getDiagnosticOption()
80 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) = delete;
DCXString.cpp59 CXString createRef(const char *String) { in createRef() function
82 CXString createRef(StringRef String) { in createRef() function
DCIndexCodeCompletion.cpp140 return cxstring::createRef((*CCStr)[chunk_number].Text); in clang_getCompletionChunkText()
215 return CCStr ? cxstring::createRef(CCStr->getAnnotation(annotation_number)) in clang_getCompletionAnnotation()
229 return cxstring::createRef(CCStr->getParentContextName()); in clang_getCompletionParent()
239 return cxstring::createRef(CCStr->getBriefComment()); in clang_getCompletionBriefComment()
906 return cxstring::createRef(Results->ContainerUSR.c_str()); in clang_codeCompleteGetContainerUSR()
DCXLoadedDiagnostic.cpp109 return cxstring::createRef(Spelling); in getSpelling()
148 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
DCIndexDiagnostic.cpp62 return cxstring::createRef(Message.c_str()); in getSpelling()
415 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(Category)); in clang_getDiagnosticCategoryName()
DCXType.cpp500 return cxstring::createRef(s); in clang_getTypeKindSpelling()
905 return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()
916 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()
DCXSourceLocation.cpp298 if (filename) *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getPresumedLocation()