Home
last modified time | relevance | path

Searched refs:ConvType (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp10743 QualType ConvType = in CheckConversionDeclarator() local
10858 ConvType = Proto->getReturnType(); in CheckConversionDeclarator()
10864 if (ConvType->isArrayType()) { in CheckConversionDeclarator()
10866 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
10870 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
10915 else if (ConvType->isRecordType()) { in ActOnConversionDeclarator()
10916 ConvType = Context.getCanonicalType(ConvType).getUnqualifiedType(); in ActOnConversionDeclarator()
10917 if (ConvType == ClassType) in ActOnConversionDeclarator()
10922 << ClassType << ConvType; in ActOnConversionDeclarator()
10923 } else if (ConvType->isVoidType()) { in ActOnConversionDeclarator()
[all …]
H A DSemaOverload.cpp7308 if (S.Context.hasSameUnqualifiedType(ConvType, ToNonRefType)) in isAllowableExplicitConversion()
7325 return S.isObjCPointerConversion(ConvType, ToNonRefType, ConvertedType, in isAllowableExplicitConversion()
7348 if (getLangOpts().CPlusPlus14 && ConvType->isUndeducedType()) { in AddConversionCandidate()
7351 ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate()
7367 !isAllowableExplicitConversion(*this, ConvType, ToType, in AddConversionCandidate()
7382 Candidate.FinalConversion.setFromType(ConvType); in AddConversionCandidate()
11707 QualType ConvType in CompleteNonViableCandidate() local
11709 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in CompleteNonViableCandidate()
11710 ConvType = ConvPtrType->getPointeeType(); in CompleteNonViableCandidate()
11711 ParamTypes = ConvType->castAs<FunctionProtoType>()->getParamTypes(); in CompleteNonViableCandidate()
[all …]
H A DSemaInit.cpp4189 QualType ConvType = CD->getConversionType(); in TryConstructorInitialization() local
4190 assert(S.Context.hasSameUnqualifiedType(ConvType, DestType) && in TryConstructorInitialization()
4192 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization()
4194 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization()
5402 QualType ConvType = Function->getCallResultType(); in TryUserDefinedConversion() local
5403 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType, in TryUserDefinedConversion()
5406 if (ConvType->getAs<RecordType>()) { in TryUserDefinedConversion()
5418 !S.Context.hasSameUnqualifiedType(ConvType, DestType)) in TryUserDefinedConversion()
5420 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion()
H A DSemaExprCXX.cpp3536 bool match(QualType ConvType) override { in ActOnCXXDelete() argument
3539 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in ActOnCXXDelete()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp1674 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() local
1675 bool Hidden = ParentHiddenTypes.count(ConvType); in CollectVisibleConversions()
1677 HiddenTypesBuffer.insert(ConvType); in CollectVisibleConversions()