Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
132 return cxstring::createRef(TC->getText()); in clang_TextComment_getText()
138 return cxstring::createNull(); in clang_InlineCommandComment_getCommandName()
141 return cxstring::createRef(ICC->getCommandName(Traits)); in clang_InlineCommandComment_getCommandName()
181 return cxstring::createNull(); in clang_InlineCommandComment_getArgText()
183 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText()
189 return cxstring::createNull(); in clang_HTMLTagComment_getTagName()
191 return cxstring::createRef(HTC->getTagName()); in clang_HTMLTagComment_getTagName()
213 return cxstring::createNull(); in clang_HTMLStartTag_getAttrName()
215 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()
[all …]
H A DCIndex.cpp82 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit()
4021 return cxstring::createDup(encoding); in clang_Type_getObjCEncoding()
4529 return cxstring::createEmpty(); in clang_getTranslationUnitSpelling()
4533 return cxstring::createDup(CXXUnit->getOriginalSourceFileName()); in clang_getTranslationUnitSpelling()
4559 return cxstring::createEmpty(); in clang_TargetInfo_getTriple()
4568 return cxstring::createDup(Triple); in clang_TargetInfo_getTriple()
4596 return cxstring::createNull(); in clang_getFileName()
4599 return cxstring::createRef(FEnt->getName()); in clang_getFileName()
4687 return cxstring::createNull(); in clang_File_tryGetRealPathName()
4690 return cxstring::createRef(FEnt->tryGetRealPathName()); in clang_File_tryGetRealPathName()
[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 DCXExtractAPI.cpp74 return cxstring::createDup(BackingString.str()); in GenerateCXStringFromSymbolGraphData()
106 return cxstring::createNull(); in clang_getSymbolGraphForUSR()
115 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
119 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
132 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
138 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
150 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
H A DCIndexDiagnostic.cpp57 return cxstring::createRef(Message.c_str()); in getSpelling()
62 *Disable = cxstring::createEmpty(); in getDiagnosticOption()
63 return cxstring::createEmpty(); in getDiagnosticOption()
67 CXString getCategoryText() const override { return cxstring::createEmpty(); } in getCategoryText()
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()
[all …]
H A DCIndexCodeCompletion.cpp115 return cxstring::createNull(); in clang_getCompletionChunkText()
138 return cxstring::createRef((*CCStr)[chunk_number].Text); in clang_getCompletionChunkText()
142 return cxstring::createEmpty(); in clang_getCompletionChunkText()
213 return CCStr ? cxstring::createRef(CCStr->getAnnotation(annotation_number)) in clang_getCompletionAnnotation()
214 : cxstring::createNull(); in clang_getCompletionAnnotation()
225 return cxstring::createNull(); in clang_getCompletionParent()
227 return cxstring::createRef(CCStr->getParentContextName()); 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()
[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
174 return static_cast<const cxstring::CXStringBuf *>(string.data)->Data.data(); in clang_getCString()
188 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.cpp302 return cxstring::createEmpty(); in clang_getTypeSpelling()
311 return cxstring::createDup(OS.str()); in clang_getTypeSpelling()
446 return cxstring::createDup(TD->getNameAsString().c_str()); in clang_getTypedefName()
448 return cxstring::createEmpty(); in clang_getTypedefName()
642 return cxstring::createRef(s); in clang_getTypeKindSpelling()
1126 return cxstring::createEmpty(); in clang_getDeclObjCTypeEncoding()
1144 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()
1148 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()