aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Windows/PathV2.inc
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-07 17:04:04 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-07 17:04:04 +0000
commit5029159fbe7c267c9322fc6c38064e9ab2ce91bc (patch)
treeb9250f8f63705ef6cadd62c3a3e9eeb0c1ac3546 /lib/Support/Windows/PathV2.inc
parentdc3b90617312c4bb62e56095ebcf1fb6a8153090 (diff)
Support/PathV2: Change most functions in the path namespace to return their work
via their return value instead of an out parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/PathV2.inc')
-rw-r--r--lib/Support/Windows/PathV2.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc
index 42a50fc0f9..6a1ea93914 100644
--- a/lib/Support/Windows/PathV2.inc
+++ b/lib/Support/Windows/PathV2.inc
@@ -489,8 +489,7 @@ error_code unique_file(const Twine &model, int &result_fd,
if (error_code ec = UTF8ToUTF16(m, model_utf16)) return ec;
// Make model absolute by prepending a temp directory if it's not already.
- bool absolute;
- path::is_absolute(m, absolute);
+ bool absolute = path::is_absolute(m);
if (!absolute) {
SmallVector<wchar_t, 64> temp_dir;