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:
2f01bc8
)
Reformat.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 16 Oct 2015 09:38:49 +0000
(09:38 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Fri, 16 Oct 2015 09:38:49 +0000
(09:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250504
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
416412f
..
e8cd98b
100644
(file)
--- a/
unittests/Support/Path.cpp
+++ b/
unittests/Support/Path.cpp
@@
-303,7
+303,7
@@
TEST(Support, HomeDirectory) {
#ifdef LLVM_ON_WIN32
wchar_t *path = ::_wgetenv(L"USERPROFILE");
auto pathLen = ::wcslen(path);
- ArrayRef<char> ref{reinterpret_cast<char*>(path), pathLen * sizeof(wchar_t)};
+ ArrayRef<char> ref{reinterpret_cast<char
*>(path), pathLen * sizeof(wchar_t)};
std::string expected;
convertUTF16ToUTF8String(ref, expected);
#else