Searched refs:OtherT (Results 1 – 3 of 3) sorted by relevance
83 template <class OtherT> friend class ErrorOr;118 template <class OtherT>120 const ErrorOr<OtherT> &Other,121 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * =126 template <class OtherT>128 const ErrorOr<OtherT> &Other,130 !std::is_convertible<OtherT, const T &>::value>::type * = nullptr) {138 template <class OtherT>140 ErrorOr<OtherT> &&Other,141 typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * =[all …]
68 template<typename OtherT>69 inline T& operator=(const OtherT& other)
6546 QualType OtherT = Other->getType(); in DiagnoseOutOfRangeComparison() local6547 if (const auto *AT = OtherT->getAs<AtomicType>()) in DiagnoseOutOfRangeComparison()6548 OtherT = AT->getValueType(); in DiagnoseOutOfRangeComparison()6549 IntRange OtherRange = IntRange::forValueOfType(S.Context, OtherT); in DiagnoseOutOfRangeComparison()6572 if (S.Context.hasSameUnqualifiedType(OtherT, ConstantT)) in DiagnoseOutOfRangeComparison()6574 assert((OtherT->isIntegerType() && ConstantT->isIntegerType()) && in DiagnoseOutOfRangeComparison()6741 << OtherT << (OtherIsBooleanType && !OtherT->isBooleanType()) << IsTrue in DiagnoseOutOfRangeComparison()