Searched refs:getText (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp21 StringRef getText(CharSourceRange Range, const ASTContext &Context) { function in namespace:clang::tooling::fixit::internal
/freebsd-current/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) { function in namespace:clang::tooling::fixit
51 return internal::getText(internal::getSourceRange(Node), Context);
65 getText(Source, Context));
/freebsd-current/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 {
/freebsd-current/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) { function in namespace:clang::tooling
57 return getText(CharSourceRange::getTokenRange(Node.getSourceRange()),
75 /// getText(S1, Context) = "if (!x) return foo()"
81 /// = getText(S2, Context) = "{ return 3; }"
86 return getText(getExtendedRange(Node, Next, Context), Context);
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DCommentBriefParser.cpp63 FirstParagraphOrBrief += Tok.getText();
65 ReturnsParagraph += Tok.getText();
108 if (isWhitespace(Tok.getText()))
H A DCommentParser.cpp61 Pos.BufferStart = Tok.getText().begin();
62 Pos.BufferEnd = Tok.getText().end();
273 Arg.getText());
279 Arg.getText());
289 Arg.getText());
300 SourceRange(Arg.getLocation(), Arg.getEndLocation()), Arg.getText()};
597 if (Tok.is(tok::text) && isWhitespace(Tok.getText())) {
624 Tok.getText()));
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp77 StringRef Text = getText(E, Context);
91 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context);
97 StringRef Text = getText(E, Context);
114 getText(*Op->getSubExpr()->IgnoreParenImpCasts(), Context);
120 StringRef Text = getText(E, Context);
137 StringRef DerefText = getText(*SubExpr, Context);
146 StringRef Text = getText(E, Context);
163 StringRef DerefText = getText(*SubExpr, Context);
172 StringRef Text = getText(E, Context);
H A DStencil.cpp178 *Result += tooling::getText(*E, *Match.Context);
195 *Result += tooling::getText(*E, *Match.Context);
255 *Result += tooling::getText(Range, *Match.Context);
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DSourceMgr.cpp402 if (Fixit.getText().find_first_of("\n\r\t") != StringRef::npos)
434 assert((size_t)sys::locale::columnWidth(Fixit.getText()) ==
435 Fixit.getText().size());
438 unsigned LastColumnModified = HintCol + Fixit.getText().size();
442 llvm::copy(Fixit.getText(), FixItLine.begin() + HintCol);
/freebsd-current/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp262 appendToResultWithHTMLEscaping(C->getText());
423 appendToResultWithHTMLEscaping(C->getText(i));
438 appendToResultWithHTMLEscaping(C->getText());
611 appendToResultWithXMLEscaping(C->getText());
800 appendToResultWithXMLEscaping(C->getText(i));
815 appendToResultWithXMLEscaping(C->getText());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/MC/
H A DSectionKind.h190 static SectionKind getText() { return get(Text); } function in class:llvm::SectionKind
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DSourceMgrAdapter.cpp133 Builder << FixItHint::CreateReplacement(Range, FixIt.getText());
/freebsd-current/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp207 return SectionKind::getText();
211 return SectionKind::getText();
/freebsd-current/contrib/llvm-project/llvm/lib/MC/
H A DMCObjectFileInfo.cpp95 SectionKind::getText());
163 SectionKind::getText());
548 Ctx->getGOFFSection(".text", SectionKind::getText(), nullptr, nullptr);
584 SectionKind::getText());
849 TextSection = Ctx->getWasmSection(".text", SectionKind::getText());
941 SectionKind::getText(),
1052 TextSection = Ctx->getDXContainerSection("DXBC", SectionKind::getText());
/freebsd-current/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 { function in class:clang::comments::ParamCommandComment::VerbatimBlockComment
923 return Lines[LineIdx]->getText();
952 StringRef getText() const { function in class:clang::comments::ParamCommandComment::VerbatimLineComment
H A DCommentLexer.h98 StringRef getText() const LLVM_READONLY {
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTree.cpp188 OS << TM.getText(L->getTokenKey());
232 OS << TM.getText(L->getTokenKey());
H A DSynthesis.cpp224 TBTM.getText(L->getTokenKey()));
/freebsd-current/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DCOFFMasmParser.cpp191 SectionKind::getText());
349 .CaseLower("code", SectionKind::getText())
H A DWasmAsmParser.cpp162 .StartsWith(".text", SectionKind::getText())
H A DCOFFAsmParser.cpp103 SectionKind::getText());
160 return SectionKind::getText();
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h267 StringRef getText() const { return Text; } function in class:llvm::SMFixIt
/freebsd-current/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h92 const char *getText() const { return Text; } function in class:__ubsan::Range
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.cpp454 SectionKind Kind = SectionKind::getText();

Completed in 200 milliseconds

12