Searched refs:OtherT (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ErrorOr.h | 57 template <class OtherT> friend class ErrorOr; 86 template <class OtherT> 87 ErrorOr(OtherT &&Val, 88 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) 90 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 97 template <class OtherT> 98 ErrorOr(const ErrorOr<OtherT> &Other, 99 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) { 103 template <class OtherT> 105 const ErrorOr<OtherT> &Other, [all …]
|
H A D | MSVCErrorWorkarounds.h | 59 template <typename OtherT> 61 OtherT &&Val, 62 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) 65 template <class OtherT> 67 Expected<OtherT> &&Other, 68 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) 71 template <class OtherT> 73 Expected<OtherT> &&Other, 74 std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr)
|
H A D | Error.h | 483 template <class OtherT> friend class Expected; 521 template <typename OtherT> 522 Expected(OtherT &&Val, 523 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) 531 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 539 template <class OtherT> 540 Expected(Expected<OtherT> &&Other, 541 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) { 547 template <class OtherT> 549 Expected<OtherT> &&Other, [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
H A D | error.h | 187 template <class OtherT> friend class Expected; 208 template <typename OtherT> 209 Expected(OtherT &&Val, 210 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) 212 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 220 template <class OtherT> 222 Expected<OtherT> &&Other, 223 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr) { 229 template <class OtherT> 231 Expected<OtherT> &&Other, [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 1348 template <typename OtherT, typename DerivedT, typename BaseT, typename T, 1352 const OtherT &rhs) { 1356 template <typename OtherT, typename DerivedT, typename BaseT, typename T, 1360 const OtherT &rhs) {
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 9973 QualType OtherT = Other->getType(); in CheckTautologicalComparison() local 9974 if (const auto *AT = OtherT->getAs<AtomicType>()) in CheckTautologicalComparison() 9975 OtherT = AT->getValueType(); in CheckTautologicalComparison() 9976 IntRange OtherTypeRange = IntRange::forValueOfType(S.Context, OtherT); in CheckTautologicalComparison() 9981 S.ObjC().NSAPIObj->isObjCBOOLType(OtherT) && in CheckTautologicalComparison() 9982 OtherT->isSpecificBuiltinType(BuiltinType::SChar); in CheckTautologicalComparison() 9987 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison() 10078 << OS.str() << classifyConstantValue(Constant) << OtherT in CheckTautologicalComparison() 10082 bool IsCharTy = OtherT.withoutLocalFastQualifiers() == S.Context.CharTy; in CheckTautologicalComparison() 10092 << RhsConstant << OtherT << E->getOpcodeStr() << OS.str() << *Result in CheckTautologicalComparison()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 1145 QualType OtherT = Summary.getArgType(OtherArg); in apply() local 1147 OtherV = SVB.evalCast(OtherV, T, OtherT); in apply()
|