aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/FileSystem.h')
-rw-r--r--include/llvm/Support/FileSystem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index 5263d32153..2a2daaeced 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -604,10 +604,10 @@ class directory_iterator {
directory_entry CurrentEntry;
// Platform implementations implement these functions to handle iteration.
- friend error_code directory_iterator_construct(directory_iterator& it,
- const StringRef &path);
- friend error_code directory_iterator_increment(directory_iterator& it);
- friend error_code directory_iterator_destruct(directory_iterator& it);
+ friend error_code directory_iterator_construct(directory_iterator &it,
+ StringRef path);
+ friend error_code directory_iterator_increment(directory_iterator &it);
+ friend error_code directory_iterator_destruct(directory_iterator &it);
public:
explicit directory_iterator(const Twine &path, error_code &ec)