Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp4373 return cxstring::createRef(FEnt->getName()); in clang_getFileName()
4464 return cxstring::createRef(FEnt->tryGetRealPathName()); in clang_File_tryGetRealPathName()
4611 return cxstring::createRef(CIMP->getIdentifier()->getNameStart()); in getDeclSpelling()
4631 return cxstring::createRef(Super->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
4635 return cxstring::createRef(Class->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
4640 return cxstring::createRef(OID->getIdentifier()->getNameStart()); in clang_getCursorSpelling()
4678 return cxstring::createRef(Label->getName()); in clang_getCursorSpelling()
4705 return cxstring::createRef("<not implemented>"); in clang_getCursorSpelling()
4735 return cxstring::createRef(Label->getName()); in clang_getCursorSpelling()
4741 return cxstring::createRef( in clang_getCursorSpelling()
[all …]
H A DCXComment.cpp132 return cxstring::createRef(TC->getText()); in clang_TextComment_getText()
141 return cxstring::createRef(ICC->getCommandName(Traits)); in clang_InlineCommandComment_getCommandName()
183 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText()
191 return cxstring::createRef(HTC->getTagName()); in clang_HTMLTagComment_getTagName()
215 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()
223 return cxstring::createRef(HST->getAttr(AttrIdx).Value); in clang_HTMLStartTag_getAttrValue()
232 return cxstring::createRef(BCC->getCommandName(Traits)); in clang_BlockCommandComment_getCommandName()
249 return cxstring::createRef(BCC->getArgText(ArgIdx)); in clang_BlockCommandComment_getArgText()
265 return cxstring::createRef(PCC->getParamNameAsWritten()); in clang_ParamCommandComment_getParamName()
316 return cxstring::createRef(TPCC->getParamNameAsWritten()); in clang_TParamCommandComment_getParamName()
[all …]
H A DCXStoredDiagnostic.cpp49 return cxstring::createRef(Diag.getMessage()); in getSpelling()
63 *Disable = cxstring::createRef("-ferror-limit=0"); in getDiagnosticOption()
64 return cxstring::createRef("-ferror-limit="); in getDiagnosticOption()
76 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID)); in getCategoryText()
H A DCXString.h41 CXString createRef(const char *String);
53 CXString createRef(StringRef String);
65 CXString createRef(std::string String) = delete;
H A DCXCompilationDatabase.cpp109 return cxstring::createRef(cmd->Directory.c_str()); in clang_CompileCommand_getDirectory()
119 return cxstring::createRef(cmd->Filename.c_str()); in clang_CompileCommand_getFilename()
142 return cxstring::createRef(Cmd->CommandLine[Arg].c_str()); in clang_CompileCommand_getArg()
H A DCXString.cpp57 CXString createRef(const char *String) { in createRef() function
80 CXString createRef(StringRef String) { in createRef() function
H A 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()
348 return cxstring::createRef(FixIt.CodeToInsert.c_str()); in clang_getCompletionFixIt()
956 return cxstring::createRef(Results->ContainerUSR.c_str()); in clang_codeCompleteGetContainerUSR()
H A DCXLoadedDiagnostic.cpp106 return cxstring::createRef(Spelling); in getSpelling()
145 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
H A DCIndexDiagnostic.cpp57 return cxstring::createRef(Message.c_str()); in getSpelling()
402 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(Category)); in clang_getDiagnosticCategoryName()
H A DCXSourceLocation.cpp289 if (filename) *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getPresumedLocation()
H A DCXType.cpp624 return cxstring::createRef(s); in clang_getTypeKindSpelling()
1120 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()