llvm.org GIT mirror llvm / bb8d9fb
SmallString doesn't have implicit conversion from const char*. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298019 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
10631063 Tests.emplace_back("a\\", "a\\", "a/");
10641064
10651065 for (auto &T : Tests) {
1066 SmallString<64> Win = std::get<0>(T);
1067 SmallString<64> Posix = Win;
1066 SmallString<64> Win(std::get<0>(T));
1067 SmallString<64> Posix(Win);
10681068 path::native(Win, path::Style::windows);
10691069 path::native(Posix, path::Style::posix);
10701070 EXPECT_EQ(std::get<1>(T), Win);