| /llvm-project-15.0.7/clang/include/clang/Rewrite/Core/ |
| H A D | RewriteBuffer.h | 66 void InsertText(unsigned OrigOffset, StringRef Str, 75 InsertText(OrigOffset, Str, false); in InsertTextBefore() 82 InsertText(OrigOffset, Str); in InsertTextAfter()
|
| H A D | Rewriter.h | 115 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 D | Rewriter.cpp | 115 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 D | RewriteObjC.cpp | 773 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 D | RewriteModernObjC.cpp | 927 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 D | FixItRewriter.cpp | 68 Rewrite.InsertText(loc, text); in insert()
|
| /llvm-project-15.0.7/clang/unittests/Rewrite/ |
| H A D | RewriteBufferTest.cpp | 64 Buf.InsertText(0, "abc\n"); in TEST()
|
| H A D | RewriterTest.cpp | 55 T.Rewrite.InsertText(T.makeLoc(13), "x"); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/ |
| H A D | ChangeNamespace.cpp | 187 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 D | ARCMT.cpp | 479 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true, in insert()
|
| H A D | ObjCMT.cpp | 1755 Rewrite.InsertText(loc, text); in insert()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 1266 rewrite.InsertText(loc, text); in RewriteExpression()
|