Lines Matching defs:MainCode
1558 Annotations MainCode("class [[Fo^o]] {};");
1567 TestTU TU = TestTU::withCode(MainCode.code());
1571 rename({MainCode.point(), NewName, AST, MainFilePath,
1578 Pair(Eq(MainFilePath), Eq(expectedResult(MainCode, NewName)))));
1582 MainCode = Annotations("void [[Bar]]() { [[B^ar]](); }");
1583 TU = TestTU::withCode(MainCode.code());
1587 Results = rename({MainCode.point(), NewName, AST, MainFilePath,
1594 Pair(Eq(MainFilePath), Eq(expectedResult(MainCode, NewName)))));
1630 Results = rename({MainCode.point(), NewName, AST, MainFilePath,
1638 auto MainCode = Annotations("int [[^x]] = 2;");
1642 auto TU = TestTU::withCode(MainCode.code());
1687 auto Results = rename({MainCode.point(), NewName, AST, MainFilePath,
1694 Pair(Eq(MainFilePath), Eq(expectedResult(MainCode, NewName)))));