Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp4937 return cxstring::createRef( in clang_getCursorSpelling()
4941 return cxstring::createRef( in clang_getCursorSpelling()
4961 return cxstring::createRef("packed"); in clang_getCursorSpelling()
5412 return cxstring::createRef("VarDecl"); in clang_getCursorKindSpelling()
5444 return cxstring::createRef("TypeRef"); in clang_getCursorKindSpelling()
5582 return cxstring::createRef("IfStmt"); in clang_getCursorKindSpelling()
5588 return cxstring::createRef("DoStmt"); in clang_getCursorKindSpelling()
5712 return cxstring::createRef( in clang_getCursorKindSpelling()
5893 return cxstring::createRef( in clang_getCursorKindSpelling()
7029 return cxstring::createRef( in clang_getTokenSpelling()
[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()
349 return cxstring::createRef(VBL->getText()); in clang_VerbatimBlockLineComment_getText()
[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()
958 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.cpp632 return cxstring::createRef(s); in clang_getTypeKindSpelling()
1134 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()