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:
35edc42
)
Attempt to fix the build after r125228.
author
Cameron Zwarich
<zwarich@apple.com>
Wed, 9 Feb 2011 23:02:14 +0000
(23:02 +0000)
committer
Cameron Zwarich
<zwarich@apple.com>
Wed, 9 Feb 2011 23:02:14 +0000
(23:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125236
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/PathV2.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/PathV2.inc
b/lib/Support/Unix/PathV2.inc
index 7fa838b16b7d193f6fa90d6ba7ae0ccd29d0a496..3a3a438d05b9c84f806e3f9f5b61a5112431fef1 100644
(file)
--- a/
lib/Support/Unix/PathV2.inc
+++ b/
lib/Support/Unix/PathV2.inc
@@
-522,13
+522,13
@@
void canonical(const char *path, SmallVectorImpl<char> &buffer) {
buffer.resize(length);
memcpy(buffer.data(), result, length);
free(result);
- return
buffer.data()
;
+ return;
}
size_t length = strlen(path);
buffer.resize(length);
memcpy(buffer.data(), path, length);
- return
path
;
+ return;
}
} // end namespace path