diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-09-16 00:07:16 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-09-16 00:07:16 +0000 |
commit | 1b17a4b7b4e6cfb2ece4e243bed47ec5bb81affa (patch) | |
tree | cac2866652707595b226c411c3c65b60544745ed /libcxx/include/experimental/filesystem | |
parent | d542ccfc9761bf3acfc9926e805069a08ee2aadd (diff) | |
download | bcm5719-llvm-1b17a4b7b4e6cfb2ece4e243bed47ec5bb81affa.tar.gz bcm5719-llvm-1b17a4b7b4e6cfb2ece4e243bed47ec5bb81affa.zip |
Move inline attributes in filesystem to first declaration
llvm-svn: 281683
Diffstat (limited to 'libcxx/include/experimental/filesystem')
-rw-r--r-- | libcxx/include/experimental/filesystem | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libcxx/include/experimental/filesystem b/libcxx/include/experimental/filesystem index fe6e40bf070..10590a8c067 100644 --- a/libcxx/include/experimental/filesystem +++ b/libcxx/include/experimental/filesystem @@ -1115,6 +1115,8 @@ public: private: friend class path; + + inline _LIBCPP_INLINE_VISIBILITY friend bool operator==(const iterator&, const iterator&); _LIBCPP_FUNC_VIS iterator& __increment(); @@ -1901,6 +1903,7 @@ public: { return __increment(&__ec); } private: + inline _LIBCPP_INLINE_VISIBILITY friend bool operator==(const directory_iterator& __lhs, const directory_iterator& __rhs) _NOEXCEPT; @@ -2050,6 +2053,7 @@ private: _LIBCPP_FUNC_VIS void __pop(error_code* __ec=nullptr); + inline _LIBCPP_INLINE_VISIBILITY friend bool operator==(const recursive_directory_iterator&, const recursive_directory_iterator&) _NOEXCEPT; @@ -2059,9 +2063,9 @@ private: }; // class recursive_directory_iterator -_LIBCPP_INLINE_VISIBILITY -inline bool operator==(const recursive_directory_iterator& __lhs, - const recursive_directory_iterator& __rhs) _NOEXCEPT +inline _LIBCPP_INLINE_VISIBILITY +bool operator==(const recursive_directory_iterator& __lhs, + const recursive_directory_iterator& __rhs) _NOEXCEPT { return __lhs.__imp_ == __rhs.__imp_; } |