Home
last modified time | relevance | path

Searched refs:createInsertion (Results 1 – 3 of 3) sorted by relevance

/external/clang/unittests/Format/
DCleanupTest.cpp251 tooling::Replacement createInsertion(StringRef HeaderName) { in createInsertion() function in clang::format::__anon4c1eb1d80111::CleanUpReplacementsTest
318 tooling::Replacements Replaces = {createInsertion("#include \"a.h\"")}; in TEST_F()
335 tooling::Replacements Replaces = {createInsertion("#include \"b.h\"")}; in TEST_F()
360 tooling::Replacements Replaces = {createInsertion("#include \"a.h\"")}; in TEST_F()
372 tooling::Replacements Replaces = {createInsertion("#include <a>")}; in TEST_F()
385 tooling::Replacements Replaces = {createInsertion("#include \"z.h\"")}; in TEST_F()
397 tooling::Replacements Replaces = {createInsertion("#include \"z.h\"")}; in TEST_F()
415 tooling::Replacements Replaces = {createInsertion("#include \"d.h\""), in TEST_F()
416 createInsertion("#include \"llvm/x/y.h\"")}; in TEST_F()
433 tooling::Replacements Replaces = {createInsertion("#include <list>"), in TEST_F()
[all …]
/external/llvm-project/clang/unittests/Format/
DCleanupTest.cpp323 tooling::Replacement createInsertion(StringRef IncludeDirective) { in createInsertion() function in clang::format::__anon115c5da60111::CleanUpReplacementsTest
405 toReplacements({createInsertion("#include <list>"), in TEST_F()
406 createInsertion("#include \"new/new.h\"")}); in TEST_F()
426 toReplacements({createInsertion("#include <list>"), in TEST_F()
427 createInsertion("#include \"x/x.h\"")}); in TEST_F()
442 {createInsertion("#include \"a.h\""), createInsertion("#include \"c.h\""), in TEST_F()
443 createInsertion("#include \"b.h\""), in TEST_F()
444 createInsertion("#include <vector>"), createInsertion("#include <list>"), in TEST_F()
445 createInsertion("#include \"fix.h\"")}); in TEST_F()
461 {createInsertion("#include \"a.h\""), createInsertion("#include \"c.h\""), in TEST_F()
[all …]
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp186 tooling::Replacement createInsertion(SourceLocation Loc, in createInsertion() function
749 const auto Insertion = createInsertion( in moveClassForwardDeclaration()