/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/llvm-project/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 61 Result = tooling::applyAllReplacements(Entry.second, Rewrite) && Result; in applyAllReplacements() 100 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()
|
/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()
|
/external/llvm-project/clang/unittests/Format/ |
D | SortImportsTestJS.cpp | 28 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); in sort() 30 auto Formatted = applyAllReplacements( in sort()
|
D | SortImportsTestJava.cpp | 19 auto Sorted = applyAllReplacements(Code, Replaces); in sort() 21 auto Result = applyAllReplacements( in sort()
|
D | FormatTestTableGen.cpp | 27 auto Result = applyAllReplacements(Code, Replaces); in format()
|
D | CleanupTest.cpp | 30 auto Result = applyAllReplacements(Code, Replaces); in cleanup() 336 auto Result = applyAllReplacements(Code, *CleanReplaces); in apply() 349 auto Result = applyAllReplacements(Code, *FormattedReplaces); in formatAndApply()
|
D | SortIncludesTest.cpp | 33 auto Sorted = applyAllReplacements(Code, Replaces); in sort() 35 auto Result = applyAllReplacements( in sort()
|
/external/clang/tools/clang-format/fuzzer/ |
D | ClangFormatFuzzer.cpp | 23 applyAllReplacements(s, clang::format::reformat( in LLVMFuzzerTestOneInput()
|
/external/llvm-project/clang/tools/clang-format/fuzzer/ |
D | ClangFormatFuzzer.cpp | 23 auto Result = applyAllReplacements(s, Replaces); in LLVMFuzzerTestOneInput()
|
/external/clang/include/clang/Tooling/ |
D | Refactoring.h | 61 bool applyAllReplacements(Rewriter &Rewrite);
|
/external/llvm-project/clang/include/clang/Tooling/ |
D | Refactoring.h | 64 bool applyAllReplacements(Rewriter &Rewrite);
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 440 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 453 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 463 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 483 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 500 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 508 EXPECT_FALSE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 643 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F() 922 auto AfterFirst = applyAllReplacements(Code, First); in mergeAndTestRewrite() 924 auto InSequenceRewrite = applyAllReplacements(*AfterFirst, Second); in mergeAndTestRewrite() 930 auto MergedRewrite = applyAllReplacements(Code, Merged); in mergeAndTestRewrite() [all …]
|
D | RewriterTest.cpp | 46 auto Rewritten = applyAllReplacements("line1\nline2\nline3\nline4", Replaces); in TEST()
|
/external/llvm-project/clang/include/clang/Tooling/Core/ |
D | Replacement.h | 319 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite); 328 llvm::Expected<std::string> applyAllReplacements(StringRef Code,
|
/external/llvm-project/clang/unittests/Tooling/Syntax/ |
D | MutationsTest.cpp | 34 auto Output = tooling::applyAllReplacements(Source.code(), Replacements); in CheckTransformation()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/tool/ |
D | ClangIncludeFixer.cpp | 342 tooling::applyAllReplacements(Code->getBuffer(), *Replacements); in includeFixerMain() 441 auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(), in includeFixerMain() 461 if (!tooling::applyAllReplacements(Replacement, Rewrites)) { in includeFixerMain()
|
/external/llvm-project/clang-tools-extra/clang-reorder-fields/tool/ |
D | ClangReorderFields.cpp | 78 Tool.applyAllReplacements(Rewrite); in main()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | AtomicChange.cpp | 337 applyAllReplacements(Code, AllReplaces); in applyAtomicChanges() 347 ChangedCode = applyAllReplacements(*ChangedCode, HeaderSortingReplacements); in applyAtomicChanges() 360 ChangedCode = applyAllReplacements(*ChangedCode, FormatReplacements); in applyAtomicChanges()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | FormatTests.cpp | 34 auto NewCode = tooling::applyAllReplacements(Code.code(), Merged); in afterTyped()
|