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:
fc0569e
)
Implement a function from PathV2 whose definition is missing.
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Tue, 15 Feb 2011 17:51:19 +0000
(17:51 +0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Tue, 15 Feb 2011 17:51:19 +0000
(17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125574
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/PathV2.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/PathV2.cpp
b/lib/Support/PathV2.cpp
index 9f9dea25876cd6a23b84543dbf5edf40c380a6bb..896c94c071bcaa6acf792daca6498b43eccabd30 100644
(file)
--- a/
lib/Support/PathV2.cpp
+++ b/
lib/Support/PathV2.cpp
@@
-391,6
+391,12
@@
void append(SmallVectorImpl<char> &path, const Twine &a,
}
}
+void append(SmallVectorImpl<char> &path,
+ const_iterator begin, const_iterator end) {
+ for (; begin != end; ++begin)
+ path::append(path, *begin);
+}
+
const StringRef parent_path(StringRef path) {
size_t end_pos = parent_path_end(path);
if (end_pos == StringRef::npos)