projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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 416412f327c6b7bead0103c24f3e0a9e15a6bc70..e8cd98b8cfa2b15408bf800f9f173ae70e9a68e3 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