diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h index a8857fbd032..e6f9926af6f 100644 --- a/include/llvm/Support/FileSystem.h +++ b/include/llvm/Support/FileSystem.h @@ -666,8 +666,8 @@ public: return *this; } - const directory_entry &operator*() const { return *State->Stack.top(); }; - const directory_entry *operator->() const { return &*State->Stack.top(); }; + const directory_entry &operator*() const { return *State->Stack.top(); } + const directory_entry *operator->() const { return &*State->Stack.top(); } // observers /// Gets the current level. Starting path is at level 0.