forked from OSchip/llvm-project
parent
576cbd03b4
commit
e646239e5e
|
@ -346,7 +346,7 @@ const StringRef root_directory(StringRef path) {
|
|||
|
||||
const StringRef relative_path(StringRef path) {
|
||||
StringRef root = root_path(path);
|
||||
return root.substr(root.size());
|
||||
return path.substr(root.size());
|
||||
}
|
||||
|
||||
void append(SmallVectorImpl<char> &path, const Twine &a,
|
||||
|
|
Loading…
Reference in New Issue