reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/Error.h
   83     return isA(ErrorInfoT::classID());
  242     return getPtr() && getPtr()->isA(ErrT::classID());
  331   return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
  348   static const void *classID() { return &ThisErrT::ID; }
  350   const void *dynamicClassID() const override { return &ThisErrT::ID; }
  804     return E.template isA<ErrT>();
  820     return E.template isA<ErrT>();
  826     std::unique_ptr<ErrT> SubE(static_cast<ErrT *>(E.release()));
  856     : public ErrorHandlerTraits<RetT (&)(ErrT &)> {};
  866     : public ErrorHandlerTraits<RetT (&)(ErrT &)> {};
  878     : public ErrorHandlerTraits<RetT (&)(std::unique_ptr<ErrT>)> {};
include/llvm/Testing/Support/Error.h
   87   explicit ErrorMatchesMono(Optional<testing::Matcher<InfoT &>> Matcher)
  101     if (!Info.isA<InfoT>()) {
  129   Optional<testing::Matcher<InfoT &>> Matcher;
  148   return MakeMatcher(new detail::ErrorMatchesMono<InfoT>(None));
unittests/Support/ErrorTest.cpp
   60 class CustomSubError : public ErrorInfo<CustomSubError, CustomError> {
  161   Error F = make_error<CustomSubError>(1, 2);
  250   handleAllErrors(make_error<CustomSubError>(42, 7),
  266   handleAllErrors(make_error<CustomSubError>(42, 7),
  285       make_error<CustomSubError>(42, 7),
  302       joinErrors(make_error<CustomError>(7), make_error<CustomSubError>(42, 7));
  476     if (E.isA<CustomSubError>())
  857     unwrap(wrap(joinErrors(make_error<CustomSubError>(42, 7),
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>