Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 25 of 37) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp77 StringRef Text = getText(E, Context); in buildParens()
91 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildDereference()
97 StringRef Text = getText(E, Context); in buildDereference()
114 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context); in buildAddressOf()
120 StringRef Text = getText(E, Context); in buildAddressOf()
137 StringRef DerefText = getText(*SubExpr, Context); in buildAccessForValue()
146 StringRef Text = getText(E, Context); in buildAccessForValue()
163 StringRef DerefText = getText(*SubExpr, Context); in buildAccessForPointer()
172 StringRef Text = getText(E, Context); in buildAccessForPointer()
H A DStencil.cpp178 *Result += tooling::getText(*E, *Match.Context); in eval()
195 *Result += tooling::getText(*E, *Match.Context); in eval()
255 *Result += tooling::getText(Range, *Match.Context); in eval()
H A DRangeSelector.cpp216 if (tooling::getText(R, *Result.Context) != D->getName()) in name()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/
H A DFixIt.h29 StringRef getText(CharSourceRange Range, const ASTContext &Context);
50 StringRef getText(const T &Node, const ASTContext &Context) { in getText() function
51 return internal::getText(internal::getSourceRange(Node), Context); in getText()
65 getText(Source, Context)); in createReplacement()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h52 StringRef getText(CharSourceRange Range, const ASTContext &Context);
56 StringRef getText(const T &Node, const ASTContext &Context) { in getText() function
57 return getText(CharSourceRange::getTokenRange(Node.getSourceRange()), in getText()
86 return getText(getExtendedRange(Node, Next, Context), Context); in getExtendedText()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DCommentBriefParser.cpp63 FirstParagraphOrBrief += Tok.getText(); in Parse()
65 ReturnsParagraph += Tok.getText(); in Parse()
108 if (isWhitespace(Tok.getText())) in Parse()
H A DCommentParser.cpp61 Pos.BufferStart = Tok.getText().begin(); in setupBuffer()
62 Pos.BufferEnd = Tok.getText().end(); in setupBuffer()
273 Arg.getText()); in parseParamCommandArgs()
279 Arg.getText()); in parseParamCommandArgs()
289 Arg.getText()); in parseTParamCommandArgs()
300 SourceRange(Arg.getLocation(), Arg.getEndLocation()), Arg.getText()}; in parseCommandArgs()
597 if (Tok.is(tok::text) && isWhitespace(Tok.getText())) { in parseParagraphOrBlockCommand()
624 Tok.getText())); in parseParagraphOrBlockCommand()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp21 StringRef getText(CharSourceRange Range, const ASTContext &Context) { in getText() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp402 if (Fixit.getText().find_first_of("\n\r\t") != StringRef::npos) in buildFixItLine()
434 assert((size_t)sys::locale::columnWidth(Fixit.getText()) == in buildFixItLine()
435 Fixit.getText().size()); in buildFixItLine()
438 unsigned LastColumnModified = HintCol + Fixit.getText().size(); in buildFixItLine()
442 llvm::copy(Fixit.getText(), FixItLine.begin() + HintCol); in buildFixItLine()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokenManager.h41 virtual llvm::StringRef getText(Key K) const = 0;
H A DTokenBufferTokenManager.h29 llvm::StringRef getText(Key I) const override { in getText() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp262 appendToResultWithHTMLEscaping(C->getText()); in visitTextComment()
423 appendToResultWithHTMLEscaping(C->getText(i)); in visitVerbatimBlockComment()
438 appendToResultWithHTMLEscaping(C->getText()); in visitVerbatimLineComment()
611 appendToResultWithXMLEscaping(C->getText()); in visitTextComment()
800 appendToResultWithXMLEscaping(C->getText(i)); in visitVerbatimBlockComment()
815 appendToResultWithXMLEscaping(C->getText()); in visitVerbatimLineComment()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DComment.h309 StringRef getText() const LLVM_READONLY { return Text; }
871 StringRef getText() const LLVM_READONLY {
922 StringRef getText(unsigned LineIdx) const {
923 return Lines[LineIdx]->getText();
952 StringRef getText() const {
H A DCommentLexer.h98 StringRef getText() const LLVM_READONLY { in getText() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp95 SectionKind::getText()); in initMachOMCObjectFileInfo()
163 SectionKind::getText()); in initMachOMCObjectFileInfo()
548 Ctx->getGOFFSection(".text", SectionKind::getText(), nullptr, nullptr); in initGOFFMCObjectFileInfo()
584 SectionKind::getText()); in initCOFFMCObjectFileInfo()
849 TextSection = Ctx->getWasmSection(".text", SectionKind::getText()); in initWasmMCObjectFileInfo()
941 SectionKind::getText(), in initXCOFFMCObjectFileInfo()
1052 TextSection = Ctx->getDXContainerSection("DXBC", SectionKind::getText()); in initDXContainerObjectFileInfo()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp207 return SectionKind::getText(); in getKindForGlobal()
211 return SectionKind::getText(); in getKindForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DSectionKind.h190 static SectionKind getText() { return get(Text); } in getText() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp133 Builder << FixItHint::CreateReplacement(Range, FixIt.getText()); in handleDiag()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp188 OS << TM.getText(L->getTokenKey()); in dumpNode()
232 OS << TM.getText(L->getTokenKey()); in dumpTokens()
H A DSynthesis.cpp224 TBTM.getText(L->getTokenKey())); in deepCopyExpandingMacros()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp191 SectionKind::getText()); in ParseSectionDirectiveCode()
349 .CaseLower("code", SectionKind::getText()) in ParseDirectiveSegment()
H A DCOFFAsmParser.cpp103 SectionKind::getText()); in ParseSectionDirectiveText()
160 return SectionKind::getText(); in computeSectionKind()
H A DWasmAsmParser.cpp162 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h92 const char *getText() const { return Text; } in getText() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h267 StringRef getText() const { return Text; } in getText() function

12