Lines Matching refs:createInsertion
323 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()
462 createInsertion("#include \"b.h\""), in TEST_F()
463 createInsertion("#include <vector>"), createInsertion("#include <list>"), in TEST_F()
464 createInsertion("#include \"fix.h\"")}); in TEST_F()
476 toReplacements({createInsertion("#include <string>"), in TEST_F()
477 createInsertion("#include <vector>")}); in TEST_F()
499 createInsertion("#include <vector>"), createInsertion("#include <list>"), in TEST_F()
500 createInsertion("#include \"clang/x/x.h\""), in TEST_F()
501 createInsertion("#include \"y.h\""), in TEST_F()
502 createInsertion("#include \"x.h\"")}); in TEST_F()
526 {createDeletion("<vector>"), createInsertion("#include <map>")}); in TEST_F()