/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 50 if (!applyAllReplacements(Rewrite)) { in runAndSave() 57 bool RefactoringTool::applyAllReplacements(Rewriter &Rewrite) { in applyAllReplacements() function in clang::tooling::RefactoringTool 58 return tooling::applyAllReplacements(Replace, Rewrite); in applyAllReplacements() 88 Result = applyAllReplacements(*NewReplacements, Rewrite) && Result; in formatAndApplyAllReplacements()
|
/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 120 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 135 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 149 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 165 EXPECT_FALSE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 311 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 643 auto AfterFirst = applyAllReplacements(Code, First); in mergeAndTestRewrite() 645 auto InSequenceRewrite = applyAllReplacements(*AfterFirst, Second); in mergeAndTestRewrite() 651 auto MergedRewrite = applyAllReplacements(Code, Merged); in mergeAndTestRewrite() 661 auto AfterFirst = applyAllReplacements(Code, First); in mergeAndTestRewrite() 663 auto InSequenceRewrite = applyAllReplacements(*AfterFirst, Second); in mergeAndTestRewrite() [all …]
|
D | RewriterTest.cpp | 44 auto Rewritten = applyAllReplacements("line1\nline2\nline3\nline4", Replaces); in TEST()
|
D | RefactoringCallbacksTest.cpp | 34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(), in expectRewritten()
|
/external/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 156 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite); 164 bool applyAllReplacements(const std::vector<Replacement> &Replaces, 174 llvm::Expected<std::string> applyAllReplacements(StringRef Code,
|
/external/clang/unittests/Format/ |
D | SortImportsTestJS.cpp | 29 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); in sort() 31 auto Formatted = applyAllReplacements( in sort()
|
D | SortIncludesTest.cpp | 30 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); in sort() 32 auto Result = applyAllReplacements( in sort()
|
D | FormatTestProto.cpp | 28 auto Result = applyAllReplacements(Code, Replaces); in format()
|
D | CleanupTest.cpp | 28 auto Result = applyAllReplacements(Code, Replaces); in cleanup() 260 auto Result = applyAllReplacements(Code, *CleanReplaces); in apply() 274 auto Result = applyAllReplacements(Code, *FormattedReplaces); in formatAndApply()
|
D | FormatTestSelective.cpp | 31 auto Result = applyAllReplacements(Code, Replaces); in format()
|
D | FormatTestJava.cpp | 28 auto Result = applyAllReplacements(Code, Replaces); in format()
|
D | FormatTestJS.cpp | 31 auto Result = applyAllReplacements(Code, Replaces); in format()
|
D | FormatTest.cpp | 50 auto Result = applyAllReplacements(Code, Replaces); in format() 11559 auto Result = applyAllReplacements(Code, *FormattedReplaces); in TEST_F() 11588 auto Result = applyAllReplacements(Code, *FormattedReplaces); in TEST_F()
|
/external/clang/tools/clang-format/fuzzer/ |
D | ClangFormatFuzzer.cpp | 23 applyAllReplacements(s, clang::format::reformat( in LLVMFuzzerTestOneInput()
|
/external/clang/include/clang/Tooling/ |
D | Refactoring.h | 61 bool applyAllReplacements(Rewriter &Rewrite);
|
/external/clang/lib/Tooling/Core/ |
D | Replacement.cpp | 221 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite) { in applyAllReplacements() function 237 bool applyAllReplacements(const std::vector<Replacement> &Replaces, in applyAllReplacements() function 252 llvm::Expected<std::string> applyAllReplacements(StringRef Code, in applyAllReplacements() function
|
/external/clang/tools/clang-format/ |
D | ClangFormat.cpp | 260 auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(), Replaces); in format() 294 tooling::applyAllReplacements(Replaces, Rewrite); in format()
|
/external/clang/lib/Index/ |
D | CommentToXML.cpp | 612 applyAllReplacements(Replace, FormatRewriterContext.Rewrite); in formatTextOfDeclaration()
|
/external/clang/lib/Format/ |
D | Format.cpp | 1403 auto NewCode = applyAllReplacements(Code, Replaces); in processReplacements()
|