Home
last modified time | relevance | path

Searched refs:OtherT (Results 1 – 6 of 6) sorted by relevance

/openbsd/src/gnu/llvm/llvm/include/llvm/Support/
DErrorOr.h57 template <class OtherT> friend class ErrorOr;
86 template <class OtherT>
87 ErrorOr(OtherT &&Val,
88 std::enable_if_t<std::is_convertible<OtherT, T>::value> * = 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<OtherT, T>::value> * = nullptr) {
103 template <class OtherT>
105 const ErrorOr<OtherT> &Other,
[all …]
DMSVCErrorWorkarounds.h59 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)
DError.h472 template <class OtherT> friend class Expected;
510 template <typename OtherT>
511 Expected(OtherT &&Val,
512 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr)
520 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError()
528 template <class OtherT>
529 Expected(Expected<OtherT> &&Other,
530 std::enable_if_t<std::is_convertible_v<OtherT, T>> * = nullptr) {
536 template <class OtherT>
538 Expected<OtherT> &&Other,
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DSTLExtras.h1318 template <typename OtherT>
1320 const OtherT &rhs) {
1323 template <typename OtherT>
1325 const OtherT &rhs) {
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DStdLibraryFunctionsChecker.cpp961 QualType OtherT = Summary.getArgType(OtherArg); in apply() local
963 OtherV = SVB.evalCast(OtherV, T, OtherT); in apply()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaChecking.cpp13006 QualType OtherT = Other->getType(); in CheckTautologicalComparison() local
13007 if (const auto *AT = OtherT->getAs<AtomicType>()) in CheckTautologicalComparison()
13008 OtherT = AT->getValueType(); in CheckTautologicalComparison()
13009 IntRange OtherTypeRange = IntRange::forValueOfType(S.Context, OtherT); in CheckTautologicalComparison()
13014 S.NSAPIObj->isObjCBOOLType(OtherT) && in CheckTautologicalComparison()
13015 OtherT->isSpecificBuiltinType(BuiltinType::SChar); in CheckTautologicalComparison()
13020 !OtherT->isBooleanType() && Other->isKnownToHaveBooleanValue(); in CheckTautologicalComparison()
13111 << OS.str() << classifyConstantValue(Constant) << OtherT in CheckTautologicalComparison()
13115 bool IsCharTy = OtherT.withoutLocalFastQualifiers() == S.Context.CharTy; in CheckTautologicalComparison()
13125 << RhsConstant << OtherT << E->getOpcodeStr() << OS.str() << *Result in CheckTautologicalComparison()