OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a965f8
)
SmallString doesn't have implicit conversion from const char*.
author
Zachary Turner
<zturner@google.com>
Fri, 17 Mar 2017 00:28:23 +0000
(
00:28
+0000)
committer
Zachary Turner
<zturner@google.com>
Fri, 17 Mar 2017 00:28:23 +0000
(
00:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298019
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/Path.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/Path.cpp
b/unittests/Support/Path.cpp
index
042cd1e
..
edda1cd
100644
(file)
--- a/
unittests/Support/Path.cpp
+++ b/
unittests/Support/Path.cpp
@@
-1064,8
+1064,8
@@
TEST(Support, NormalizePath) {
Tests.emplace_back("a\\", "a\\", "a/");
for (auto &T : Tests) {
- SmallString<64> Win
= std::get<0>(T
);
- SmallString<64> Posix
= Win
;
+ SmallString<64> Win
(std::get<0>(T)
);
+ SmallString<64> Posix
(Win)
;
path::native(Win, path::Style::windows);
path::native(Posix, path::Style::posix);
EXPECT_EQ(std::get<1>(T), Win);