reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
31 std::tie(V, D) = PlatformDarwin::ParseVersionBuildDir("1.2.3 (test1)"); 32 EXPECT_EQ(llvm::VersionTuple(1, 2, 3), V); 35 std::tie(V, D) = PlatformDarwin::ParseVersionBuildDir("2.3 (test2)"); 36 EXPECT_EQ(llvm::VersionTuple(2, 3), V); 39 std::tie(V, D) = PlatformDarwin::ParseVersionBuildDir("3 (test3)"); 40 EXPECT_EQ(llvm::VersionTuple(3), V); 43 std::tie(V, D) = PlatformDarwin::ParseVersionBuildDir("1.2.3 (test"); 44 EXPECT_EQ(llvm::VersionTuple(1, 2, 3), V); 47 std::tie(V, D) = PlatformDarwin::ParseVersionBuildDir("2.3.4 test"); 48 EXPECT_EQ(llvm::VersionTuple(2, 3, 4), V); 51 std::tie(V, D) = PlatformDarwin::ParseVersionBuildDir("3.4.5"); 52 EXPECT_EQ(llvm::VersionTuple(3, 4, 5), V);