Home
last modified time | relevance | path

Searched refs:InsertText (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Rewrite/Core/
H A DRewriteBuffer.h66 void InsertText(unsigned OrigOffset, StringRef Str,
75 InsertText(OrigOffset, Str, false); in InsertTextBefore()
82 InsertText(OrigOffset, Str); in InsertTextAfter()
H A DRewriter.h115 bool InsertText(SourceLocation Loc, StringRef Str,
124 return InsertText(Loc, Str); in InsertTextAfter()
137 return InsertText(Loc, Str, false); in InsertTextBefore()
/llvm-project-15.0.7/clang/lib/Rewrite/
H A DRewriter.cpp115 void RewriteBuffer::InsertText(unsigned OrigOffset, StringRef Str, in InsertText() function in RewriteBuffer
256 bool Rewriter::InsertText(SourceLocation Loc, StringRef Str, in InsertText() function in Rewriter
293 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter); in InsertText()
304 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true); in InsertTextAfterToken()
407 RB.InsertText(offs, indent, /*InsertAfter=*/false); in IncreaseIndentation()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp773 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
959 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
1624 InsertText(endBodyLoc, buf); in RewriteObjCForCollectionStmt()
1637 InsertText(endBodyLoc, buf); in RewriteObjCForCollectionStmt()
1824 InsertText(startLoc, buf); in RewriteObjCTryStmt()
1905 InsertText(bodyLoc, buf); in RewriteObjCTryStmt()
2108 InsertText(LessLoc, "/*"); in RewriteObjCQualifiedInterfaceTypes()
2153 InsertText(LessLoc, "/*"); in RewriteObjCQualifiedInterfaceTypes()
3544 InsertText(FunLocStart, SC); in SynthesizeBlockLiterals()
3577 InsertText(FunLocStart, CI); in SynthesizeBlockLiterals()
[all …]
H A DRewriteModernObjC.cpp927 InsertText(startLoc, "// "); in RewritePropertyImplDecl()
1119 InsertText(LocStart, "// "); in RewriteMethodDeclaration()
1832 InsertText(endBodyLoc, buf); in RewriteObjCForCollectionStmt()
1845 InsertText(endBodyLoc, buf); in RewriteObjCForCollectionStmt()
2191 InsertText(LessLoc, "/*"); in RewriteObjCQualifiedInterfaceTypes()
2240 InsertText(LessLoc, "/*"); in RewriteObjCQualifiedInterfaceTypes()
3172 InsertText(FunLocStart, str); in SynthMsgSendStretCallExpr()
4332 InsertText(FunLocStart, SC); in SynthesizeBlockLiterals()
4369 InsertText(FunLocStart, CI); in SynthesizeBlockLiterals()
4373 InsertText(FunLocStart, CF); in SynthesizeBlockLiterals()
[all …]
H A DFixItRewriter.cpp68 Rewrite.InsertText(loc, text); in insert()
/llvm-project-15.0.7/clang/unittests/Rewrite/
H A DRewriteBufferTest.cpp64 Buf.InsertText(0, "abc\n"); in TEST()
H A DRewriterTest.cpp55 T.Rewrite.InsertText(T.makeLoc(13), "x"); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp187 llvm::StringRef InsertText, in createInsertion() argument
194 return tooling::Replacement(SM, Loc, 0, InsertText); in createInsertion()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DARCMT.cpp479 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true, in insert()
H A DObjCMT.cpp1755 Rewrite.InsertText(loc, text); in insert()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionParser.cpp1266 rewrite.InsertText(loc, text); in RewriteExpression()