projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72bf29f
)
Fix a -Wparentheses warning in the mingw build
author
Nico Weber
<nicolasweber@gmx.de>
Tue, 25 Sep 2012 05:24:16 +0000
(
05:24
+0000)
committer
Nico Weber
<nicolasweber@gmx.de>
Tue, 25 Sep 2012 05:24:16 +0000
(
05:24
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164587
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/PathV2.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/PathV2.inc
b/lib/Support/Windows/PathV2.inc
index 696768ba9dd1d57ce546793f954dbbc0fb8a8de9..3dfac66b77ce69e0f1459f966b268f82eef9eb55 100644
(file)
--- a/
lib/Support/Windows/PathV2.inc
+++ b/
lib/Support/Windows/PathV2.inc
@@
-794,7
+794,7
@@
mapped_file_region::mapped_file_region(const Twine &path,
SmallVector<wchar_t, 128> path_utf16;
// Convert path to UTF-16.
- if (
ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16
))
+ if (
(ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16)
))
return;
// Get file handle for creating a file mapping.