Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp10550 QualType ConvType = in CheckConversionDeclarator() local
10665 ConvType = Proto->getReturnType(); in CheckConversionDeclarator()
10671 if (ConvType->isArrayType()) { in CheckConversionDeclarator()
10673 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
10677 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
10722 else if (ConvType->isRecordType()) { in ActOnConversionDeclarator()
10723 ConvType = Context.getCanonicalType(ConvType).getUnqualifiedType(); in ActOnConversionDeclarator()
10724 if (ConvType == ClassType) in ActOnConversionDeclarator()
10729 << ClassType << ConvType; in ActOnConversionDeclarator()
10730 } else if (ConvType->isVoidType()) { in ActOnConversionDeclarator()
[all …]
H A DSemaOverload.cpp7223 if (S.Context.hasSameUnqualifiedType(ConvType, ToNonRefType)) in isAllowableExplicitConversion()
7240 return S.isObjCPointerConversion(ConvType, ToNonRefType, ConvertedType, in isAllowableExplicitConversion()
7263 if (getLangOpts().CPlusPlus14 && ConvType->isUndeducedType()) { in AddConversionCandidate()
7266 ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate()
7282 !isAllowableExplicitConversion(*this, ConvType, ToType, in AddConversionCandidate()
7297 Candidate.FinalConversion.setFromType(ConvType); in AddConversionCandidate()
11539 QualType ConvType in CompleteNonViableCandidate() local
11541 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in CompleteNonViableCandidate()
11542 ConvType = ConvPtrType->getPointeeType(); in CompleteNonViableCandidate()
11543 ParamTypes = ConvType->castAs<FunctionProtoType>()->getParamTypes(); in CompleteNonViableCandidate()
[all …]
H A DSemaInit.cpp4161 QualType ConvType = CD->getConversionType(); in TryConstructorInitialization() local
4162 assert(S.Context.hasSameUnqualifiedType(ConvType, DestType) && in TryConstructorInitialization()
4164 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization()
4166 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization()
5374 QualType ConvType = Function->getCallResultType(); in TryUserDefinedConversion() local
5375 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType, in TryUserDefinedConversion()
5378 if (ConvType->getAs<RecordType>()) { in TryUserDefinedConversion()
5390 !S.Context.hasSameUnqualifiedType(ConvType, DestType)) in TryUserDefinedConversion()
5392 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion()
H A DSemaExprCXX.cpp3490 bool match(QualType ConvType) override { in ActOnCXXDelete() argument
3493 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in ActOnCXXDelete()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1659 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() local
1660 bool Hidden = ParentHiddenTypes.count(ConvType); in CollectVisibleConversions()
1662 HiddenTypesBuffer.insert(ConvType); in CollectVisibleConversions()