diff options
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r-- | llvm/lib/Support/Path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index 94ed1876bbd..3eee85fc3f7 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -953,9 +953,9 @@ bool status_known(file_status s) { return s.type() != file_type::status_error; } -file_type get_file_type(const Twine &Path) { +file_type get_file_type(const Twine &Path, bool Follow) { file_status st; - if (status(Path, st)) + if (status(Path, st, Follow)) return file_type::status_error; return st.type(); } |