mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-12-02 08:56:18 +00:00
Move inline attributes in filesystem to first declaration
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281683 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6dbed46df6
commit
03f7d10810
@ -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_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user