Searched refs:cxstring (Results 1 – 14 of 14) sorted by relevance
44 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 …]
130 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 …]
81 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit()3795 return cxstring::createDup(encoding); in clang_Type_getObjCEncoding()4303 return cxstring::createEmpty(); in clang_getTranslationUnitSpelling()4307 return cxstring::createDup(CXXUnit->getOriginalSourceFileName()); in clang_getTranslationUnitSpelling()4333 return cxstring::createEmpty(); in clang_TargetInfo_getTriple()4342 return cxstring::createDup(Triple); in clang_TargetInfo_getTriple()4370 return cxstring::createNull(); in clang_getFileName()4373 return cxstring::createRef(FEnt->getName()); in clang_getFileName()4461 return cxstring::createNull(); in clang_File_tryGetRealPathName()4464 return cxstring::createRef(FEnt->tryGetRealPathName()); in clang_File_tryGetRealPathName()[all …]
106 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()
49 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()
57 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 …]
115 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 …]
106 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()
37 namespace cxstring { namespace165 return static_cast<const cxstring::CXStringBuf *>(string.data)->Data.data(); in clang_getCString()179 static_cast<cxstring::CXStringBuf *>( in clang_disposeString()
129 *original = cxstring::createDup( in clang_remap_getFilenames()132 *transformed = cxstring::createDup( in clang_remap_getFilenames()
294 return cxstring::createEmpty(); in clang_getTypeSpelling()303 return cxstring::createDup(OS.str()); in clang_getTypeSpelling()438 return cxstring::createDup(TD->getNameAsString().c_str()); in clang_getTypedefName()440 return cxstring::createEmpty(); in clang_getTypedefName()624 return cxstring::createRef(s); in clang_getTypeKindSpelling()1102 return cxstring::createEmpty(); in clang_getDeclObjCTypeEncoding()1120 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()1124 return cxstring::createDup(encoding); in clang_getDeclObjCTypeEncoding()
25 namespace cxstring {
31 clang::cxstring::CXStringPool *StringPool;
191 *filename = cxstring::createEmpty(); in createNullLocation()289 if (filename) *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getPresumedLocation()