Home
last modified time | relevance | path

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

/external/clang/include/clang/Tooling/Core/
DReplacement.h144 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
152 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
159 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
201 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
209 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
216 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
/external/clang/lib/Tooling/
DRefactoring.cpp48 if (!applyAllReplacements(Rewrite)) { in runAndSave()
55 bool RefactoringTool::applyAllReplacements(Rewriter &Rewrite) { in applyAllReplacements() function in clang::tooling::RefactoringTool
56 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()
268 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
DRefactoringCallbacksTest.cpp34 EXPECT_TRUE(tooling::applyAllReplacements(Callback.getReplacements(), in expectRewritten()
/external/clang/tools/clang-format/fuzzer/
DClangFormatFuzzer.cpp23 applyAllReplacements(s, clang::format::reformat( in TestOneInput()
/external/clang/include/clang/Tooling/
DRefactoring.h59 bool applyAllReplacements(Rewriter &Rewrite);
/external/clang/lib/Tooling/Core/
DReplacement.cpp228 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite) { in applyAllReplacements() function
244 bool applyAllReplacements(const std::vector<Replacement> &Replaces, in applyAllReplacements() function
259 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces) { in applyAllReplacements() function
/external/clang/unittests/Format/
DFormatTestProto.cpp28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestJava.cpp28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestJS.cpp28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTest.cpp33 std::string Result = applyAllReplacements(Code, Replaces); in format()
/external/clang/tools/clang-format/
DClangFormat.cpp248 tooling::applyAllReplacements(Replaces, Rewrite); in format()
/external/clang/lib/Index/
DCommentToXML.cpp614 applyAllReplacements(Replace, FormatRewriterContext.Rewrite); in formatTextOfDeclaration()