Commit 6b82adbb authored by Muiez Ahmed's avatar Muiez Ahmed
Browse files

Raise compile error when using unimplemented functions

The path functions in this patch are unimplemented (as per the TODO comment from upstream). To avoid running into a linker error (missing symbol), this patch raises a compile error by commenting out the functions, which is more user friendly.

Differential Revision: https://reviews.llvm.org/D111892
parent 00500d5b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -966,6 +966,7 @@ public:
    _PathCVT<_ItVal>::__append_range(__pn_, __first, __last);
  }

/*
#if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
  // TODO Implement locale conversions.
  template <class _Source, class = _EnableIfPathable<_Source, void> >
@@ -974,6 +975,7 @@ public:
  path(_InputIt __first, _InputIt _last, const locale& __loc,
       format = format::auto_format);
#endif
*/

  _LIBCPP_INLINE_VISIBILITY
  ~path() = default;