summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/PathV2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/PathV2.cpp b/llvm/lib/Support/PathV2.cpp
index ce97b7f2ca2..786e1a12c30 100644
--- a/llvm/lib/Support/PathV2.cpp
+++ b/llvm/lib/Support/PathV2.cpp
@@ -602,7 +602,7 @@ error_code make_absolute(SmallVectorImpl<char> &path) {
bool rootDirectory = path::has_root_directory(p),
#ifdef LLVM_ON_WIN32
- rootName = has_root_name(p);
+ rootName = path::has_root_name(p);
#else
rootName = true;
#endif
OpenPOWER on IntegriCloud