Home
last modified time | relevance | path

Searched refs:applyAllReplacements (Results 1 – 16 of 16) sorted by relevance

/external/clang/include/clang/Tooling/Core/
DReplacement.h149 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
157 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
164 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
206 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
214 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
221 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
/external/clang/lib/Tooling/
DRefactoring.cpp49 if (!applyAllReplacements(Rewrite)) { in runAndSave()
56 bool RefactoringTool::applyAllReplacements(Rewriter &Rewrite) { in applyAllReplacements() function in clang::tooling::RefactoringTool
57 return tooling::applyAllReplacements(Replace, Rewrite); in applyAllReplacements()
/external/clang/unittests/Tooling/
DRefactoringTest.cpp119 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
134 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
148 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
164 EXPECT_FALSE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
277 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
507 std::string AfterFirst = applyAllReplacements(Code, First); in mergeAndTestRewrite()
508 std::string InSequenceRewrite = applyAllReplacements(AfterFirst, Second); in mergeAndTestRewrite()
513 std::string MergedRewrite = applyAllReplacements(Code, Merged); in mergeAndTestRewrite()
523 applyAllReplacements(applyAllReplacements(Code, First), Second); in mergeAndTestRewrite()
525 std::string MergedRewrite = applyAllReplacements(Code, Merged); in mergeAndTestRewrite()
DRewriterTest.cpp45 applyAllReplacements("line1\nline2\nline3\nline4", Replaces)); in TEST()
DRefactoringCallbacksTest.cpp34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(), in expectRewritten()
/external/clang/unittests/Format/
DSortIncludesTest.cpp26 applyAllReplacements(Code, sortIncludes(Style, Code, Ranges, FileName)); in sort()
27 return applyAllReplacements(Sorted, in sort()
DFormatTestProto.cpp28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestSelective.cpp31 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestJava.cpp28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestJS.cpp31 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTest.cpp45 std::string Result = applyAllReplacements(Code, Replaces); in format()
/external/clang/tools/clang-format/fuzzer/
DClangFormatFuzzer.cpp23 applyAllReplacements(s, clang::format::reformat( in LLVMFuzzerTestOneInput()
/external/clang/include/clang/Tooling/
DRefactoring.h61 bool applyAllReplacements(Rewriter &Rewrite);
/external/clang/lib/Tooling/Core/
DReplacement.cpp226 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite) { in applyAllReplacements() function
242 bool applyAllReplacements(const std::vector<Replacement> &Replaces, in applyAllReplacements() function
257 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces) { in applyAllReplacements() function
/external/clang/tools/clang-format/
DClangFormat.cpp261 tooling::applyAllReplacements(Code->getBuffer(), Replaces); in format()
291 tooling::applyAllReplacements(Replaces, Rewrite); in format()
/external/clang/lib/Index/
DCommentToXML.cpp613 applyAllReplacements(Replace, FormatRewriterContext.Rewrite); in formatTextOfDeclaration()