diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index ce97b7f2ca2..786e1a12c30 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -602,7 +602,7 @@ error_code make_absolute(SmallVectorImpl &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