Lines Matching defs:TU

67   TestTU TU;
68 TU.HeaderCode = std::string(Code.code());
69 auto Symbols = TU.headerSymbols();
869 auto TU = TestTU::withCode(Code.code());
870 TU.ExtraArgs.push_back("-xobjective-c++");
871 auto AST = TU.build();
872 auto Index = TU.index();
875 rename({RenamePos, NewName, AST, testPath(TU.Filename),
1015 auto TU = TestTU::withCode(Code.code());
1016 TU.ExtraArgs.push_back("-xobjective-c");
1017 auto AST = TU.build();
1018 auto Index = TU.index();
1021 rename({RenamePos, T.NewName, AST, testPath(TU.Filename),
1330 TestTU TU = TestTU::withCode(T.code());
1331 TU.ExtraArgs.push_back("-fno-delayed-template-parsing");
1334 TU.Filename = "test.h";
1336 TU.ExtraArgs.push_back("-xobjective-c++-header");
1338 auto AST = TU.build();
1340 auto Results = rename({T.point(), NewName, AST, testPath(TU.Filename)});
1362 TestTU TU = TestTU::withCode(Code.code());
1363 TU.Filename = "main.cc";
1364 auto AST = TU.build();
1388 auto Results = Rename(TU.index().get());
1394 TU.Filename = "other.cc";
1395 Results = Rename(TU.index().get());
1402 TU.Filename = "MAIN.CC";
1403 Results = Rename(TU.index().get());
1421 auto TU = TestTU::withCode(Code.code());
1422 TU.AdditionalFiles["foo.inc"] = R"cpp(
1427 auto AST = TU.build();
1431 rename({Code.point(), NewName, AST, testPath(TU.Filename)});
1450 auto TU = TestTU::withCode(Code.code());
1451 TU.AdditionalFiles["system"] = R"cpp(
1454 TU.AdditionalFiles["cstdlib"] = R"cpp(
1457 TU.ExtraArgs = {"-isystem", testRoot()};
1458 auto AST = TU.build();
1464 auto Results = rename({Point, NewName, AST, testPath(TU.Filename)});
1474 auto TU = TestTU::withCode(Code.code());
1475 TU.HeaderCode =
1479 TU.HeaderFilename = "protobuf.pb.h";
1480 auto AST = TU.build();
1481 auto Results = rename({Code.point(), "newName", AST, testPath(TU.Filename)});
1567 TestTU TU = TestTU::withCode(MainCode.code());
1568 auto AST = TU.build();
1583 TU = TestTU::withCode(MainCode.code());
1585 TU.AdditionalFiles["bar.cc"] = std::string(BarCode.code());
1586 AST = TU.build();
1642 auto TU = TestTU::withCode(MainCode.code());
1644 TU.AdditionalFiles["bar.cc"] = std::string(BarCode.code());
1645 auto AST = TU.build();
2100 auto TU = TestTU::withCode(Code.code());
2101 auto Path = testPath(TU.Filename);
2102 auto AST = TU.build();