Home
last modified time | relevance | path

Searched refs:cxstring (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndexUSRs.cpp44 return cxstring::createEmpty(); in clang_getCursorUSR()
48 return cxstring::createEmpty(); in clang_getCursorUSR()
50 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
52 return cxstring::createEmpty(); in clang_getCursorUSR()
57 return cxstring::createEmpty(); in clang_getCursorUSR()
69 return cxstring::createEmpty(); in clang_getCursorUSR()
71 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()
73 return cxstring::createEmpty(); in clang_getCursorUSR()
80 return cxstring::createEmpty(); in clang_getCursorUSR()
89 return cxstring::createEmpty(); in clang_getCursorUSR()
[all …]
H A DCXComment.cpp130 return cxstring::createNull(); in clang_TextComment_getText()
138 return cxstring::createNull(); in clang_InlineCommandComment_getCommandName()
181 return cxstring::createNull(); in clang_InlineCommandComment_getArgText()
189 return cxstring::createNull(); in clang_HTMLTagComment_getTagName()
213 return cxstring::createNull(); in clang_HTMLStartTag_getAttrName()
221 return cxstring::createNull(); in clang_HTMLStartTag_getAttrValue()
229 return cxstring::createNull(); in clang_BlockCommandComment_getCommandName()
247 return cxstring::createNull(); in clang_BlockCommandComment_getArgText()
263 return cxstring::createNull(); in clang_ParamCommandComment_getParamName()
314 return cxstring::createNull(); in clang_TParamCommandComment_getParamName()
[all …]
H A DCIndex.cpp4566 return cxstring::createNull(); in clang_getFileName()
4657 return cxstring::createNull(); in clang_File_tryGetRealPathName()
4846 return cxstring::createDup( in clang_getCursorSpelling()
4937 return cxstring::createRef( in clang_getCursorSpelling()
4941 return cxstring::createRef( in clang_getCursorSpelling()
4977 return cxstring::createEmpty(); in clang_getCursorSpelling()
5302 return cxstring::createEmpty(); in clang_getCursorPrettyPrinted()
5712 return cxstring::createRef( in clang_getCursorKindSpelling()
5893 return cxstring::createRef( in clang_getCursorKindSpelling()
7029 return cxstring::createRef( in clang_getTokenSpelling()
[all …]
H A DCXCompilationDatabase.cpp106 return cxstring::createNull(); in clang_CompileCommand_getDirectory()
109 return cxstring::createRef(cmd->Directory.c_str()); in clang_CompileCommand_getDirectory()
116 return cxstring::createNull(); in clang_CompileCommand_getFilename()
119 return cxstring::createRef(cmd->Filename.c_str()); in clang_CompileCommand_getFilename()
135 return cxstring::createNull(); in clang_CompileCommand_getArg()
140 return cxstring::createNull(); in clang_CompileCommand_getArg()
142 return cxstring::createRef(Cmd->CommandLine[Arg].c_str()); in clang_CompileCommand_getArg()
158 return cxstring::createNull(); in clang_CompileCommand_getMappedSourcePath()
166 return cxstring::createNull(); in clang_CompileCommand_getMappedSourceContent()
H A DCXStoredDiagnostic.cpp49 return cxstring::createRef(Diag.getMessage()); in getSpelling()
57 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str()); in getDiagnosticOption()
58 return cxstring::createDup((Twine("-W") + Option).str()); in getDiagnosticOption()
63 *Disable = cxstring::createRef("-ferror-limit=0"); in getDiagnosticOption()
64 return cxstring::createRef("-ferror-limit="); in getDiagnosticOption()
67 return cxstring::createEmpty(); in getDiagnosticOption()
76 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID)); in getCategoryText()
109 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
H A DCIndexDiagnostic.cpp57 return cxstring::createRef(Message.c_str()); in getSpelling()
62 *Disable = cxstring::createEmpty(); in getDiagnosticOption()
63 return cxstring::createEmpty(); in getDiagnosticOption()
78 return cxstring::createEmpty(); in getFixIt()
243 return cxstring::createEmpty(); in clang_formatDiagnostic()
358 return cxstring::createDup(Out.str()); in clang_formatDiagnostic()
381 return cxstring::createEmpty(); in clang_getDiagnosticSpelling()
386 *Disable = cxstring::createEmpty(); in clang_getDiagnosticOption()
391 return cxstring::createEmpty(); in clang_getDiagnosticOption()
408 return cxstring::createEmpty(); in clang_getDiagnosticCategoryText()
[all …]
H A DCIndexCodeCompletion.cpp115 return cxstring::createNull(); in clang_getCompletionChunkText()
142 return cxstring::createEmpty(); in clang_getCompletionChunkText()
214 : cxstring::createNull(); in clang_getCompletionAnnotation()
225 return cxstring::createNull(); in clang_getCompletionParent()
235 return cxstring::createNull(); in clang_getCompletionBriefComment()
237 return cxstring::createRef(CCStr->getBriefComment()); in clang_getCompletionBriefComment()
331 return cxstring::createNull(); in clang_getCompletionFixIt()
338 return cxstring::createNull(); in clang_getCompletionFixIt()
956 return cxstring::createEmpty(); in clang_codeCompleteGetContainerUSR()
966 return cxstring::createEmpty(); in clang_codeCompleteGetObjCSelector()
[all …]
H A DCXLoadedDiagnostic.cpp106 return cxstring::createRef(Spelling); in getSpelling()
111 return cxstring::createEmpty(); in getDiagnosticOption()
115 *Disable = cxstring::createDup((Twine("-Wno-") + DiagOption).str()); in getDiagnosticOption()
116 return cxstring::createDup((Twine("-W") + DiagOption).str()); in getDiagnosticOption()
124 return cxstring::createDup(CategoryText); in getCategoryText()
145 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
197 *errorString = cxstring::createDup(err); in reportBad()
242 *errorString = cxstring::createEmpty(); in DiagLoader()
H A DCXString.cpp37 namespace cxstring { namespace
165 return static_cast<const cxstring::CXStringBuf *>(string.data)->Data.data(); in clang_getCString()
179 static_cast<cxstring::CXStringBuf *>( in clang_disposeString()
H A DARCMigrate.cpp129 *original = cxstring::createDup( in clang_remap_getFilenames()
132 *transformed = cxstring::createDup( in clang_remap_getFilenames()
H A DCXString.h25 namespace cxstring {
H A DCXTranslationUnit.h31 clang::cxstring::CXStringPool *StringPool;
H A DCXType.cpp300 return cxstring::createEmpty(); in clang_getTypeSpelling()
309 return cxstring::createDup(OS.str()); in clang_getTypeSpelling()
444 return cxstring::createDup(TD->getNameAsString().c_str()); in clang_getTypedefName()
446 return cxstring::createEmpty(); in clang_getTypedefName()
632 return cxstring::createRef(s); in clang_getTypeKindSpelling()
1116 return cxstring::createEmpty(); in clang_getDeclObjCTypeEncoding()
1134 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()
1138 return cxstring::createDup(encoding); in clang_getDeclObjCTypeEncoding()
H A DCXSourceLocation.cpp191 *filename = cxstring::createEmpty(); in createNullLocation()
289 if (filename) *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getPresumedLocation()