Home
last modified time | relevance | path

Searched refs:toReplacements (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang/unittests/Tooling/
DRefactoringTest.cpp436 toReplacements({Replacement(Context.Sources, in TEST_F()
449 Replacements Replaces = toReplacements( in TEST_F()
460 Replacements Replaces = toReplacements( in TEST_F()
470 auto Replaces = toReplacements({Replacement( in TEST_F()
490 auto Replaces = toReplacements({Replacement( in TEST_F()
506 toReplacements({Replacement(Context.Sources, SourceLocation(), 5, "2")}); in TEST_F()
531 FileToReplaces[std::string(File1)] = toReplacements( in TEST_F()
536 FileToReplaces[std::string(File2)] = toReplacements( in TEST_F()
550 toReplacements({Replacement("", 0, 1, ""), Replacement("", 4, 3, " ")}); in TEST()
564 Replacements Replaces = toReplacements({Replacement("", 4, 0, "\"\n\"")}); in TEST()
[all …]
DReplacementTest.h27 toReplacements(const std::set<tooling::Replacement> &Replaces) { in toReplacements() function
/external/llvm-project/clang/unittests/Format/
DCleanupTest.cpp17 using clang::tooling::toReplacements;
383 toReplacements({createReplacement(getOffset(Code, 3, 3), 6, ""), in TEST_F()
405 toReplacements({createInsertion("#include <list>"), in TEST_F()
426 toReplacements({createInsertion("#include <list>"), in TEST_F()
441 tooling::Replacements Replaces = toReplacements( in TEST_F()
460 tooling::Replacements Replaces = toReplacements( in TEST_F()
476 toReplacements({createInsertion("#include <string>"), in TEST_F()
497 tooling::Replacements Replaces = toReplacements( in TEST_F()
514 toReplacements({createDeletion("abc.h"), createDeletion("xyz.h")}); in TEST_F()
525 tooling::Replacements Replaces = toReplacements( in TEST_F()
DFormatTestRawStrings.cpp21 using clang::tooling::toReplacements;
DFormatTest.cpp21 using clang::tooling::toReplacements;
16493 tooling::Replacements Replaces = toReplacements( in TEST_F()
16528 tooling::Replacements Replaces = toReplacements( in TEST_F()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DSnippetFormatter.java120 return toReplacements(source, replacement).stream() in format()
129 private static List<Replacement> toReplacements(String source, String replacement) { in toReplacements() method in SnippetFormatter