Searched refs:cxstring (Results 1 – 14 of 14) sorted by relevance
47 return cxstring::createEmpty(); in clang_getCursorUSR()51 return cxstring::createEmpty(); in clang_getCursorUSR()53 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()55 return cxstring::createEmpty(); in clang_getCursorUSR()60 return cxstring::createEmpty(); in clang_getCursorUSR()72 return cxstring::createEmpty(); in clang_getCursorUSR()74 cxstring::CXStringBuf *buf = cxstring::getCXStringBuf(TU); in clang_getCursorUSR()76 return cxstring::createEmpty(); in clang_getCursorUSR()83 return cxstring::createEmpty(); in clang_getCursorUSR()92 return cxstring::createEmpty(); in clang_getCursorUSR()[all …]
134 return cxstring::createNull(); in clang_TextComment_getText()136 return cxstring::createRef(TC->getText()); in clang_TextComment_getText()142 return cxstring::createNull(); in clang_InlineCommandComment_getCommandName()145 return cxstring::createRef(ICC->getCommandName(Traits)); in clang_InlineCommandComment_getCommandName()182 return cxstring::createNull(); in clang_InlineCommandComment_getArgText()184 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText()190 return cxstring::createNull(); in clang_HTMLTagComment_getTagName()192 return cxstring::createRef(HTC->getTagName()); in clang_HTMLTagComment_getTagName()214 return cxstring::createNull(); in clang_HTMLStartTag_getAttrName()216 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName()[all …]
108 return cxstring::createNull(); in clang_CompileCommand_getDirectory()111 return cxstring::createRef(cmd->Directory.c_str()); in clang_CompileCommand_getDirectory()118 return cxstring::createNull(); in clang_CompileCommand_getFilename()121 return cxstring::createRef(cmd->Filename.c_str()); in clang_CompileCommand_getFilename()137 return cxstring::createNull(); in clang_CompileCommand_getArg()142 return cxstring::createNull(); in clang_CompileCommand_getArg()144 return cxstring::createRef(Cmd->CommandLine[Arg].c_str()); in clang_CompileCommand_getArg()160 return cxstring::createNull(); in clang_CompileCommand_getMappedSourcePath()165 return cxstring::createNull(); in clang_CompileCommand_getMappedSourcePath()167 return cxstring::createRef(Cmd->MappedSources[I].first.c_str()); in clang_CompileCommand_getMappedSourcePath()[all …]
53 return cxstring::createRef(Diag.getMessage()); in getSpelling()61 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str()); in getDiagnosticOption()62 return cxstring::createDup((Twine("-W") + Option).str()); in getDiagnosticOption()67 *Disable = cxstring::createRef("-ferror-limit=0"); in getDiagnosticOption()68 return cxstring::createRef("-ferror-limit="); in getDiagnosticOption()71 return cxstring::createEmpty(); in getDiagnosticOption()80 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID)); in getCategoryText()113 return cxstring::createDup(Hint.CodeToInsert); in getFixIt()
81 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit()3446 return cxstring::createEmpty(); in clang_getTranslationUnitSpelling()3450 return cxstring::createDup(CXXUnit->getOriginalSourceFileName()); in clang_getTranslationUnitSpelling()3472 return cxstring::createNull(); in clang_getFileName()3475 return cxstring::createRef(FEnt->getName()); in clang_getFileName()3681 return cxstring::createEmpty(); in getDeclSpelling()3688 return cxstring::createDup(Property->getIdentifier()->getName()); in getDeclSpelling()3692 return cxstring::createDup(Mod->getFullModuleName()); in getDeclSpelling()3694 return cxstring::createEmpty(); in getDeclSpelling()3698 return cxstring::createDup(OMD->getSelector().getAsString()); in getDeclSpelling()[all …]
62 return cxstring::createRef(Message.c_str()); in getSpelling()67 *Disable = cxstring::createEmpty(); in getDiagnosticOption()68 return cxstring::createEmpty(); in getDiagnosticOption()72 CXString getCategoryText() const override { return cxstring::createEmpty(); } in getCategoryText()83 return cxstring::createEmpty(); in getFixIt()256 return cxstring::createEmpty(); in clang_formatDiagnostic()371 return cxstring::createDup(Out.str()); in clang_formatDiagnostic()394 return cxstring::createEmpty(); in clang_getDiagnosticSpelling()399 *Disable = cxstring::createEmpty(); in clang_getDiagnosticOption()404 return cxstring::createEmpty(); in clang_getDiagnosticOption()[all …]
109 return cxstring::createRef(Spelling); in getSpelling()114 return cxstring::createEmpty(); in getDiagnosticOption()118 *Disable = cxstring::createDup((Twine("-Wno-") + DiagOption).str()); in getDiagnosticOption()119 return cxstring::createDup((Twine("-W") + DiagOption).str()); in getDiagnosticOption()127 return cxstring::createDup(CategoryText); in getCategoryText()148 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()200 *errorString = cxstring::createDup(err); in reportBad()245 *errorString = cxstring::createEmpty(); in DiagLoader()
117 return cxstring::createNull(); in clang_getCompletionChunkText()140 return cxstring::createRef((*CCStr)[chunk_number].Text); in clang_getCompletionChunkText()144 return cxstring::createEmpty(); in clang_getCompletionChunkText()215 return CCStr ? cxstring::createRef(CCStr->getAnnotation(annotation_number)) in clang_getCompletionAnnotation()216 : cxstring::createNull(); in clang_getCompletionAnnotation()227 return cxstring::createNull(); in clang_getCompletionParent()229 return cxstring::createRef(CCStr->getParentContextName()); in clang_getCompletionParent()237 return cxstring::createNull(); in clang_getCompletionBriefComment()239 return cxstring::createRef(CCStr->getBriefComment()); in clang_getCompletionBriefComment()904 return cxstring::createEmpty(); in clang_codeCompleteGetContainerUSR()[all …]
39 namespace cxstring { namespace168 return static_cast<const cxstring::CXStringBuf *>(string.data)->Data.data(); in clang_getCString()182 static_cast<cxstring::CXStringBuf *>( in clang_disposeString()
131 *original = cxstring::createDup( in clang_remap_getFilenames()134 *transformed = cxstring::createDup( in clang_remap_getFilenames()
224 return cxstring::createEmpty(); in clang_getTypeSpelling()233 return cxstring::createDup(OS.str()); in clang_getTypeSpelling()490 return cxstring::createRef(s); in clang_getTypeKindSpelling()884 return cxstring::createEmpty(); in clang_getDeclObjCTypeEncoding()892 return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()903 else return cxstring::createRef("?"); in clang_getDeclObjCTypeEncoding()907 return cxstring::createDup(encoding); in clang_getDeclObjCTypeEncoding()
32 clang::cxstring::CXStringPool *StringPool;
26 namespace cxstring {
199 *filename = cxstring::createEmpty(); in createNullLocation()302 if (filename) *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getPresumedLocation()