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

Derived Classes

include/llvm/Support/Error.h
  344 class ErrorInfo : public ParentErrT {

References

include/llvm/ExecutionEngine/Orc/RPCSerialization.h
  333     std::function<Error(ChannelT &C, const ErrorInfoBase&)>;
  409   static Error serializeAsStringError(ChannelT &C, const ErrorInfoBase &EIB) {
include/llvm/Support/Error.h
   83     return isA(ErrorInfoT::classID());
  198   Error(std::unique_ptr<ErrorInfoBase> Payload) {
  271   ErrorInfoBase *getPtr() const {
  277   void setPtr(ErrorInfoBase *EI) {
  303   std::unique_ptr<ErrorInfoBase> takePayload() {
  304     std::unique_ptr<ErrorInfoBase> Tmp(getPtr());
  318   ErrorInfoBase *Payload = nullptr;
  344 class ErrorInfo : public ParentErrT {
  383   ErrorList(std::unique_ptr<ErrorInfoBase> Payload1,
  384             std::unique_ptr<ErrorInfoBase> Payload2) {
  417   std::vector<std::unique_ptr<ErrorInfoBase>> Payloads;
  441   using error_type = std::unique_ptr<ErrorInfoBase>;
  789   static bool appliesTo(const ErrorInfoBase &E) {
  790     return E.template isA<ErrT>();
  794   static Error apply(HandlerT &&H, std::unique_ptr<ErrorInfoBase> E) {
  803   static bool appliesTo(const ErrorInfoBase &E) {
  804     return E.template isA<ErrT>();
  808   static Error apply(HandlerT &&H, std::unique_ptr<ErrorInfoBase> E) {
  819   static bool appliesTo(const ErrorInfoBase &E) {
  820     return E.template isA<ErrT>();
  824   static Error apply(HandlerT &&H, std::unique_ptr<ErrorInfoBase> E) {
  826     std::unique_ptr<ErrT> SubE(static_cast<ErrT *>(E.release()));
  835   static bool appliesTo(const ErrorInfoBase &E) {
  836     return E.template isA<ErrT>();
  840   static Error apply(HandlerT &&H, std::unique_ptr<ErrorInfoBase> E) {
  842     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>)> {};
  880 inline Error handleErrorImpl(std::unique_ptr<ErrorInfoBase> Payload) {
  885 Error handleErrorImpl(std::unique_ptr<ErrorInfoBase> Payload,
  905   std::unique_ptr<ErrorInfoBase> Payload = E.takePayload();
 1244             std::unique_ptr<ErrorInfoBase> E) {
 1260   std::unique_ptr<ErrorInfoBase> Err;
include/llvm/Testing/Support/Error.h
   87   explicit ErrorMatchesMono(Optional<testing::Matcher<InfoT &>> Matcher)
  100     auto &Info = *Holder.Infos[0];
  101     if (!Info.isA<InfoT>()) {
  129   Optional<testing::Matcher<InfoT &>> Matcher;
  148   return MakeMatcher(new detail::ErrorMatchesMono<InfoT>(None));
  153   return MakeMatcher(new detail::ErrorMatchesMono<InfoT>(
  154       testing::SafeMatcherCast<InfoT &>(Matcher)));
include/llvm/Testing/Support/SupportHelpers.h
   24   std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
lib/Testing/Support/Error.cpp
   16   std::vector<std::shared_ptr<ErrorInfoBase>> Infos;
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
  116   std::unique_ptr<llvm::ErrorInfoBase> EIB;
usr/include/c++/7.4.0/bits/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
   72     constexpr _Tp&&
   83     constexpr _Tp&&
usr/include/c++/7.4.0/bits/shared_ptr.h
   93     class shared_ptr : public __shared_ptr<_Tp>
  107       using element_type = typename __shared_ptr<_Tp>::element_type;
  236 	shared_ptr(const shared_ptr<_Yp>& __r) noexcept
  253 	shared_ptr(shared_ptr<_Yp>&& __r) noexcept
  277 	shared_ptr(unique_ptr<_Yp, _Del>&& __r)
  299 	_Assignable<const shared_ptr<_Yp>&>
  300 	operator=(const shared_ptr<_Yp>& __r) noexcept
  324 	_Assignable<shared_ptr<_Yp>>
  325 	operator=(shared_ptr<_Yp>&& __r) noexcept
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
usr/include/c++/7.4.0/bits/shared_ptr_base.h
  653 	__shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
  660 	  using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
  882     : is_convertible<_Yp*, _Tp*>::type
  882     : is_convertible<_Yp*, _Tp*>::type
  956       using element_type = _Tp;
 1035     : public __shared_ptr_access<_Tp, _Lp>
 1038       using element_type = typename remove_extent<_Tp>::type;
 1126 	__shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1138 	__shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1157 	__shared_ptr(unique_ptr<_Yp, _Del>&& __r)
 1192 	_Assignable<_Yp>
 1193 	operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept
 1218 	_Assignable<_Yp>
 1219 	operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept
 1272       swap(__shared_ptr<_Tp, _Lp>& __other) noexcept
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1377 	typename enable_if<!__has_esft_base<_Yp2>::value>::type
 1378 	_M_enable_shared_from_this_with(_Yp*) noexcept
 1386 	static _Tp1*
 1387 	_S_raw_ptr(_Tp1* __ptr)
 1601       using element_type = typename remove_extent<_Tp>::type;
 1684       __shared_ptr<_Tp, _Lp>
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
usr/include/c++/7.4.0/bits/std_function.h
  299       _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
  628       using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
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
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
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>
 1659     { typedef _Tp&&   type; };
 1942     { typedef _Tp     type; };
utils/unittest/googlemock/include/gmock/gmock-matchers.h
 2261   bool MatchAndExplain(const T&value, MatchResultListener* listener) const {
 2272   bool MatchAndExplainImpl(false_type /* is_not_pointer */, const Class& obj,
 2288   bool MatchAndExplainImpl(true_type /* is_pointer */, const Class* p,
 3931   internal::PropertyMatcher<Class, PropertyType> > Property(
utils/unittest/googletest/include/gtest/internal/gtest-internal.h
  795 struct RemoveConst { typedef T type; };  // NOLINT