Lines Matching refs:Changes
1342 applyAtomicChanges(FilePath, Code, Changes, Spec); in rewrite()
1357 llvm::SmallVector<AtomicChange, 8> Changes; member in clang::tooling::ApplyAtomicChangesTest
1363 Changes.push_back(replacementToAtomicChange("key1", 4, 1, "b")); in TEST_F()
1370 Changes.push_back(replacementToAtomicChange("key1", 0, 3, "float")); in TEST_F()
1371 Changes.push_back(replacementToAtomicChange("key2", 4, 1, "f")); in TEST_F()
1372 Changes.push_back(replacementToAtomicChange("key3", 11, 1, "g")); in TEST_F()
1373 Changes.push_back(replacementToAtomicChange("key4", 7, 3, "float")); in TEST_F()
1382 Changes.push_back(replacementToAtomicChange("key1", 4, 1, "aa")); in TEST_F()
1385 Changes.emplace_back("AnotherFile", "key2"); in TEST_F()
1386 auto Err = Changes.back().replace( in TEST_F()
1397 Changes.push_back(replacementToAtomicChange("key1", 5, 0, "b")); in TEST_F()
1398 Changes.push_back(replacementToAtomicChange("key2", 5, 0, "b")); in TEST_F()
1404 Changes.push_back(replacementToAtomicChange("key1", 0, 5, "float f")); in TEST_F()
1405 Changes.push_back(replacementToAtomicChange("key2", 4, 1, "b")); in TEST_F()
1411 Changes.push_back(replacementToAtomicChange("key1", 5, 1, "b")); in TEST_F()
1421 Changes.push_back(replacementToAtomicChange("key1", 5, 1, "x")); in TEST_F()
1422 Changes.push_back(replacementToAtomicChange("key2", 15, 1, "x")); in TEST_F()
1423 Changes.push_back(replacementToAtomicChange("key3", 23, 8, "xx")); in TEST_F()
1435 Changes.push_back(replacementToAtomicChange("key1", 0, 1, "i")); in TEST_F()
1436 Changes.push_back(replacementToAtomicChange("key2", 15, 2, "y;")); in TEST_F()
1447 Changes.push_back(replacementToAtomicChange("key1", 0, 1, "i")); in TEST_F()
1448 Changes.push_back(replacementToAtomicChange("key2", 14, 3, "y;\n")); in TEST_F()
1456 Changes.push_back(replacementToAtomicChange("key1", 5, 1, "bbb")); in TEST_F()
1462 Changes.push_back(replacementToAtomicChange("key1", 5, 3, "b")); in TEST_F()
1470 Changes.push_back(replacementToAtomicChange("key1", 14, 1, "b")); in TEST_F()
1482 Changes.push_back(replacementToAtomicChange("key1", 14, 1, "b")); in TEST_F()
1492 Changes.push_back(replacementToAtomicChange("key1", 0, 0, "int* ccc;\n")); in TEST_F()
1503 Changes.push_back(replacementToAtomicChange("key1", 20, 1, "b")); in TEST_F()
1514 Changes.push_back(replacementToAtomicChange("key1", 0, 0, "int a;\n")); in TEST_F()
1515 Changes.push_back(replacementToAtomicChange("key2", 0, 0, "int b;\n")); in TEST_F()
1521 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1522 Changes.back().addHeader("b"); in TEST_F()
1523 Changes.back().addHeader("c"); in TEST_F()
1524 Changes.emplace_back(FilePath, "key2"); in TEST_F()
1525 Changes.back().addHeader("a"); in TEST_F()
1539 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1540 Changes.back().removeHeader("b"); in TEST_F()
1553 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1554 Changes.back().addHeader("<asys>"); // Already exists. in TEST_F()
1555 Changes.back().addHeader("<b>"); in TEST_F()
1556 Changes.back().addHeader("<d>"); in TEST_F()
1557 Changes.back().addHeader("\"b-already-escaped\""); in TEST_F()
1576 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1577 Changes.back().removeHeader("<a>"); in TEST_F()
1596 Changes.push_back(replacementToAtomicChange("key1", in TEST_F()
1605 Changes.back().addHeader("a"); in TEST_F()
1624 Changes.push_back(replacementToAtomicChange("key1", 27, 1, "b")); in TEST_F()
1625 Changes.back().removeHeader("a"); in TEST_F()
1640 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1641 auto Err = Changes.back().replace(Context.Sources, getLoc(9), 3, ""); in TEST_F()
1643 Err = Changes.back().replace(Context.Sources, getLoc(35), 3, ""); in TEST_F()
1645 Err = Changes.back().replace(Context.Sources, getLoc(51), 3, ""); in TEST_F()
1647 Err = Changes.back().replace(Context.Sources, getLoc(56), 3, ""); in TEST_F()
1649 Err = Changes.back().replace(Context.Sources, getLoc(72), 3, ""); in TEST_F()
1651 Err = Changes.back().replace(Context.Sources, getLoc(97), 3, ""); in TEST_F()
1653 Err = Changes.back().replace(Context.Sources, getLoc(118), 3, ""); in TEST_F()
1667 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1668 auto Err = Changes.back().replace(Context.Sources, getLoc(7), 5, ""); in TEST_F()
1670 Err = Changes.back().replace(Context.Sources, getLoc(23), 8, ""); in TEST_F()
1672 Err = Changes.back().replace(Context.Sources, getLoc(36), 1, ""); in TEST_F()
1674 Err = Changes.back().replace(Context.Sources, getLoc(45), 3, ""); in TEST_F()
1676 Err = Changes.back().replace(Context.Sources, getLoc(53), 1, ""); in TEST_F()
1678 Err = Changes.back().replace(Context.Sources, getLoc(56), 1, ""); in TEST_F()
1691 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1692 auto Err = Changes.back().replace(Context.Sources, getLoc(7), 5, ""); in TEST_F()
1694 Err = Changes.back().replace(Context.Sources, getLoc(23), 8, ""); in TEST_F()
1696 Err = Changes.back().replace(Context.Sources, getLoc(36), 1, ""); in TEST_F()
1698 Err = Changes.back().replace(Context.Sources, getLoc(45), 3, ""); in TEST_F()
1700 Err = Changes.back().replace(Context.Sources, getLoc(53), 1, ""); in TEST_F()
1702 Err = Changes.back().replace(Context.Sources, getLoc(56), 1, ""); in TEST_F()
1712 Changes.push_back(replacementToAtomicChange("key1", 0, 6, "")); in TEST_F()
1719 Changes.emplace_back(FilePath, "key1"); in TEST_F()
1720 auto Err = Changes.back().replace(Context.Sources, getLoc(4), 1, ""); in TEST_F()
1722 Err = Changes.back().replace(Context.Sources, getLoc(4), 0, "b"); in TEST_F()
1724 Err = Changes.back().replace(Context.Sources, getLoc(11), 0, "a"); in TEST_F()
1726 Err = Changes.back().replace(Context.Sources, getLoc(11), 1, ""); in TEST_F()