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

References

tools/clang/lib/Sema/SemaOverload.cpp
 7936     ArithmeticTypes.push_back(S.Context.FloatTy);
 7937     ArithmeticTypes.push_back(S.Context.DoubleTy);
 7938     ArithmeticTypes.push_back(S.Context.LongDoubleTy);
 7939     if (S.Context.getTargetInfo().hasFloat128Type())
 7940       ArithmeticTypes.push_back(S.Context.Float128Ty);
 7945     ArithmeticTypes.push_back(S.Context.IntTy);
 7946     ArithmeticTypes.push_back(S.Context.LongTy);
 7947     ArithmeticTypes.push_back(S.Context.LongLongTy);
 7948     if (S.Context.getTargetInfo().hasInt128Type())
 7949       ArithmeticTypes.push_back(S.Context.Int128Ty);
 7950     ArithmeticTypes.push_back(S.Context.UnsignedIntTy);
 7951     ArithmeticTypes.push_back(S.Context.UnsignedLongTy);
 7952     ArithmeticTypes.push_back(S.Context.UnsignedLongLongTy);
 7953     if (S.Context.getTargetInfo().hasInt128Type())
 7954       ArithmeticTypes.push_back(S.Context.UnsignedInt128Ty);
 7959     ArithmeticTypes.push_back(S.Context.BoolTy);
 7960     ArithmeticTypes.push_back(S.Context.CharTy);
 7961     ArithmeticTypes.push_back(S.Context.WCharTy);
 7962     if (S.Context.getLangOpts().Char8)
 7963       ArithmeticTypes.push_back(S.Context.Char8Ty);
 7964     ArithmeticTypes.push_back(S.Context.Char16Ty);
 7965     ArithmeticTypes.push_back(S.Context.Char32Ty);
 7966     ArithmeticTypes.push_back(S.Context.SignedCharTy);
 7967     ArithmeticTypes.push_back(S.Context.ShortTy);
 7968     ArithmeticTypes.push_back(S.Context.UnsignedCharTy);
 7969     ArithmeticTypes.push_back(S.Context.UnsignedShortTy);
 7985       S.Context.getLValueReferenceType(CandidateTy),
 7986       S.Context.IntTy
 7990     S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 7996         S.Context.getLValueReferenceType(
 7997           S.Context.getVolatileType(CandidateTy));
 7998       S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8006         = S.Context.getLValueReferenceType(
 8007             S.Context.getCVRQualifiedType(CandidateTy, Qualifiers::Restrict));
 8008       S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8012           = S.Context.getLValueReferenceType(
 8013               S.Context.getCVRQualifiedType(CandidateTy,
 8016         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8064       if (TypeOfT == S.Context.BoolTy) {
 8067         if (Op == OO_PlusPlus && S.getLangOpts().CPlusPlus17)
 8128       S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet);
 8145       S.AddBuiltinCandidate(&ArithTy, Args, CandidateSet);
 8154       S.AddBuiltinCandidate(&VecTy, Args, CandidateSet);
 8169       S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet);
 8185       S.AddBuiltinCandidate(&IntTy, Args, CandidateSet);
 8194       S.AddBuiltinCandidate(&VecTy, Args, CandidateSet);
 8215         if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second)
 8219         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8223         CanQualType NullPtrTy = S.Context.getCanonicalType(S.Context.NullPtrTy);
 8223         CanQualType NullPtrTy = S.Context.getCanonicalType(S.Context.NullPtrTy);
 8226           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8290             std::make_pair(S.Context.getCanonicalType(FirstParamType),
 8291                            S.Context.getCanonicalType(SecondParamType)));
 8305         if (!AddedTypes.insert(S.Context.getCanonicalType(*Ptr)).second)
 8309         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8315         CanQualType CanonType = S.Context.getCanonicalType(*Enum);
 8324         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8352         S.Context.getPointerDiffType(),
 8353         S.Context.getPointerDiffType(),
 8367           S.AddBuiltinCandidate(AsymmetricParamTypes, Args, CandidateSet);
 8371           if (!AddedTypes.insert(S.Context.getCanonicalType(*Ptr)).second)
 8375           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8420         S.AddBuiltinCandidate(LandR, Args, CandidateSet);
 8435         S.AddBuiltinCandidate(LandR, Args, CandidateSet);
 8499         S.AddBuiltinCandidate(LandR, Args, CandidateSet);
 8520         if (!AddedTypes.insert(S.Context.getCanonicalType(*Enum)).second)
 8523         AddBuiltinAssignmentOperatorCandidates(S, *Enum, Args, CandidateSet);
 8530         if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second)
 8533         AddBuiltinAssignmentOperatorCandidates(S, *MemPtr, Args, CandidateSet);
 8564         AddedTypes.insert(S.Context.getCanonicalType(*Ptr));
 8570         S.Context.getLValueReferenceType(*Ptr),
 8571         isEqualOp ? *Ptr : S.Context.getPointerDiffType(),
 8573       S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8581           S.Context.getLValueReferenceType(S.Context.getVolatileType(*Ptr));
 8581           S.Context.getLValueReferenceType(S.Context.getVolatileType(*Ptr));
 8582         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8590           = S.Context.getLValueReferenceType(S.Context.getRestrictType(*Ptr));
 8590           = S.Context.getLValueReferenceType(S.Context.getRestrictType(*Ptr));
 8591         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8597             = S.Context.getLValueReferenceType(
 8598                 S.Context.getCVRQualifiedType(*Ptr,
 8601           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8613         if (!AddedTypes.insert(S.Context.getCanonicalType(*Ptr)).second)
 8617           S.Context.getLValueReferenceType(*Ptr),
 8622         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8630             S.Context.getLValueReferenceType(S.Context.getVolatileType(*Ptr));
 8630             S.Context.getLValueReferenceType(S.Context.getVolatileType(*Ptr));
 8631           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8639             = S.Context.getLValueReferenceType(S.Context.getRestrictType(*Ptr));
 8639             = S.Context.getLValueReferenceType(S.Context.getRestrictType(*Ptr));
 8640           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8646               = S.Context.getLValueReferenceType(
 8647                   S.Context.getCVRQualifiedType(*Ptr,
 8650             S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8680             S, ArithmeticTypes[Left], Args[0]);
 8682         ParamTypes[0] = S.Context.getLValueReferenceType(LeftBaseTy);
 8683         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8688           ParamTypes[0] = S.Context.getVolatileType(LeftBaseTy);
 8689           ParamTypes[0] = S.Context.getLValueReferenceType(ParamTypes[0]);
 8690           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8708         ParamTypes[0] = S.Context.getLValueReferenceType(*Vec1);
 8709         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8714           ParamTypes[0] = S.Context.getVolatileType(*Vec1);
 8715           ParamTypes[0] = S.Context.getLValueReferenceType(ParamTypes[0]);
 8716           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8745             S, ArithmeticTypes[Left], Args[0]);
 8747         ParamTypes[0] = S.Context.getLValueReferenceType(LeftBaseTy);
 8748         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8752           ParamTypes[0] = S.Context.getVolatileType(ParamTypes[0]);
 8753           ParamTypes[0] = S.Context.getLValueReferenceType(ParamTypes[0]);
 8754           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8768     QualType ParamTy = S.Context.BoolTy;
 8769     S.AddBuiltinCandidate(&ParamTy, Args, CandidateSet,
 8774     QualType ParamTypes[2] = { S.Context.BoolTy, S.Context.BoolTy };
 8774     QualType ParamTypes[2] = { S.Context.BoolTy, S.Context.BoolTy };
 8775     S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet,
 8795       QualType ParamTypes[2] = { *Ptr, S.Context.getPointerDiffType() };
 8801       S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8808       QualType ParamTypes[2] = { S.Context.getPointerDiffType(), *Ptr };
 8814       S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8852         if (C1 != C2 && !S.IsDerivedFrom(CandidateSet.getLocation(), C1, C2))
 8863         T = Q1.apply(S.Context, T);
 8864         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8888         if (!AddedTypes.insert(S.Context.getCanonicalType(*Ptr)).second)
 8892         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8899         if (!AddedTypes.insert(S.Context.getCanonicalType(*MemPtr)).second)
 8903         S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);
 8906       if (S.getLangOpts().CPlusPlus11) {
 8914           if (!AddedTypes.insert(S.Context.getCanonicalType(*Enum)).second)
 8918           S.AddBuiltinCandidate(ParamTypes, Args, CandidateSet);