mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Implement a function from PathV2 whose definition is missing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125574 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc0569e55a
commit
6e31b9b8c3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user