Home
last modified time | relevance | path

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

/llvm-project/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.cpp89 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit()
4474 return cxstring::createDup(encoding); in evaluateExpr()
4982 return cxstring::createEmpty(); in getDeclFromExpr()
4986 return cxstring::createDup(CXXUnit->getOriginalSourceFileName()); in getDeclFromExpr()
5012 return cxstring::createEmpty(); in getDeclFromExpr()
5021 return cxstring::createDup(Triple); in getDeclFromExpr()
5049 return cxstring::createNull(); in clang_visitChildren()
5052 return cxstring::createRef(FEnt.getName());
5137 return cxstring::createNull(); in clang_getCursorSpelling()
5140 return cxstring in clang_getCursorSpelling()
[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()
55 return cxstring::createEmpty(); in getDiagnosticOption()
59 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str()); in getDiagnosticOption()
60 return cxstring::createDup((Twine("-W") + Option).str()); in getDiagnosticOption()
65 *Disable = cxstring::createRef("-ferror-limit=0"); in getDiagnosticOption()
66 return cxstring::createRef("-ferror-limit="); in getDiagnosticOption()
69 return cxstring::createEmpty();
78 return cxstring::createRef(DiagnosticIDs::getCategoryNameFromID(catID));
111 return cxstring::createDup(Hint.CodeToInsert);
H A DCXExtractAPI.cpp104 return cxstring::createDup(BackingString.str()); in GenerateCXStringFromSymbolGraphData()
135 return cxstring::createNull(); in clang_getSymbolGraphForUSR()
142 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
147 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
151 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
167 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
173 return cxstring::createNull(); in clang_getSymbolGraphForCursor()
184 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()
244 return cxstring::createEmpty(); in clang_formatDiagnostic()
359 return cxstring::createDup(Out.str()); in clang_formatDiagnostic()
382 return cxstring::createEmpty(); in clang_getDiagnosticSpelling()
387 *Disable = cxstring::createEmpty(); in clang_getDiagnosticOption()
392 return cxstring 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.cpp107 return cxstring::createRef(Spelling); in getSpelling()
112 return cxstring::createEmpty(); in getDiagnosticOption()
116 *Disable = cxstring::createDup((Twine("-Wno-") + DiagOption).str()); in getDiagnosticOption()
117 return cxstring::createDup((Twine("-W") + DiagOption).str()); in getDiagnosticOption()
125 return cxstring::createDup(CategoryText); in getCategoryText()
146 return cxstring::createRef(FixIts[FixIt].second); in getFixIt()
198 *errorString = cxstring::createDup(err); in reportBad()
243 *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 DCXType.cpp305 return cxstring::createEmpty(); in clang_getTypeSpelling()
314 return cxstring::createDup(OS.str()); in clang_getTypedefDeclUnderlyingType()
320 return cxstring::createEmpty(); in clang_getTypedefDeclUnderlyingType()
328 return cxstring::createDup(OS.str()); in clang_getTypedefDeclUnderlyingType()
455 return cxstring::createDup(TD->getNameAsString().c_str()); in clang_getPointeeType()
457 return cxstring::createEmpty(); in clang_getPointeeType()
654 return cxstring::createRef(s);
1174 return cxstring::createEmpty(); in clang_Type_getTemplateArgumentAsType()
1192 else return cxstring::createRef("?"); in clang_Type_getNumObjCProtocolRefs()
1196 return cxstring in clang_Type_getNumObjCProtocolRefs()
[all...]
H A DCXString.h25 namespace cxstring {
H A DCXTranslationUnit.h31 clang::cxstring::CXStringPool *StringPool;
H A DCXSourceLocation.cpp204 *filename = cxstring::createEmpty(); in clang_Location_isInSystemHeader()
302 if (filename) *filename = cxstring::createRef(PreLoc.getFilename()); in clang_getInstantiationLocation()