Home
last modified time | relevance | path

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

12

/freebsd/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.cpp209 if (tooling::getText(R, *Result.Context) != D->getName()) in name()
H A DSourceCode.cpp31 StringRef clang::tooling::getText(CharSourceRange Range, in getText() function in clang::tooling
/freebsd/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/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()
403 Arg.getText()); in parseParamCommandArgs()
409 Arg.getText()); in parseParamCommandArgs()
419 Arg.getText()); in parseTParamCommandArgs()
430 SourceRange(Arg.getLocation(), Arg.getEndLocation()), Arg.getText()}; in parseCommandArgs()
447 SourceRange(Arg.getLocation(), Arg.getEndLocation()), Arg.getText()}; in parseThrowCommandArgs()
465 SourceRange(Arg.getLocation(), Arg.getEndLocation()), Arg.getText()}; in parseParCommandArgs()
768 if (Tok.is(tok::text) && isWhitespace(Tok.getText())) { in parseParagraphOrBlockCommand()
795 Tok.getText())); in parseParagraphOrBlockCommand()
/freebsd/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/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp21 StringRef getText(CharSourceRange Range, const ASTContext &Context) { in getText() function
/freebsd/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/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp263 appendToResultWithHTMLEscaping(C->getText()); in visitTextComment()
424 appendToResultWithHTMLEscaping(C->getText(i)); in visitVerbatimBlockComment()
439 appendToResultWithHTMLEscaping(C->getText()); in visitVerbatimLineComment()
613 appendToResultWithXMLEscaping(C->getText()); in visitTextComment()
813 appendToResultWithXMLEscaping(C->getText(i)); in visitVerbatimBlockComment()
828 appendToResultWithXMLEscaping(C->getText()); in visitVerbatimLineComment()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp95 SectionKind::getText()); in initMachOMCObjectFileInfo()
163 SectionKind::getText()); in initMachOMCObjectFileInfo()
549 TextSection = Ctx->getGOFFSection(".text", SectionKind::getText(), nullptr); in initGOFFMCObjectFileInfo()
798 TextSection = Ctx->getWasmSection(".text", SectionKind::getText()); in initWasmMCObjectFileInfo()
890 SectionKind::getText(), in initXCOFFMCObjectFileInfo()
1001 TextSection = Ctx->getDXContainerSection("DXBC", SectionKind::getText()); in initDXContainerObjectFileInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp207 return SectionKind::getText(); in getKindForGlobal()
211 return SectionKind::getText(); in getKindForGlobal()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DSectionKind.h190 static SectionKind getText() { return get(Text); } in getText() function
/freebsd/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/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h92 const char *getText() const { return Text; } in getSymbolizedStack()
112 const char *getText() const { return Text; } getText() function
H A Dubsan_diag.cpp329 RenderText(&Buffer, InRange->getText(), Args); in PrintMemorySnippet()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DWasmAsmParser.cpp165 .StartsWith(".text", SectionKind::getText()) in parseSectionDirective()
H A DDarwinAsmParser.cpp485 isText ? SectionKind::getText() : SectionKind::getData())); in parseSectionSwitch()
724 isText ? SectionKind::getText() : SectionKind::getData())); in parseDirectiveSection()
H A DCOFFMasmParser.cpp343 .CaseLower("code", SectionKind::getText()) in ParseDirectiveSegment()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h267 StringRef getText() const { return Text; } in getText() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentLexer.h98 StringRef getText() const LLVM_READONLY { in getText() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp454 SectionKind Kind = SectionKind::getText(); in selectSectionForLookupTable()

12