Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp11128 QualType ConvType = in CheckConversionDeclarator() local
11253 ConvType = Proto->getReturnType(); in CheckConversionDeclarator()
11259 if (ConvType->isArrayType()) { in CheckConversionDeclarator()
11261 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
11265 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
11311 else if (ConvType->isRecordType()) { in ActOnConversionDeclarator()
11312 ConvType = Context.getCanonicalType(ConvType).getUnqualifiedType(); in ActOnConversionDeclarator()
11313 if (ConvType == ClassType) in ActOnConversionDeclarator()
11318 << ClassType << ConvType; in ActOnConversionDeclarator()
11319 } else if (ConvType->isVoidType()) { in ActOnConversionDeclarator()
[all …]
H A DSemaOverload.cpp7771 if (S.Context.hasSameUnqualifiedType(ConvType, ToNonRefType)) in isAllowableExplicitConversion()
7788 return S.isObjCPointerConversion(ConvType, ToNonRefType, ConvertedType, in isAllowableExplicitConversion()
7811 if (getLangOpts().CPlusPlus14 && ConvType->isUndeducedType()) { in AddConversionCandidate()
7814 ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate()
7830 !isAllowableExplicitConversion(*this, ConvType, ToType, in AddConversionCandidate()
7845 Candidate.FinalConversion.setFromType(ConvType); in AddConversionCandidate()
12310 QualType ConvType in CompleteNonViableCandidate() local
12312 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in CompleteNonViableCandidate()
12313 ConvType = ConvPtrType->getPointeeType(); in CompleteNonViableCandidate()
12314 ParamTypes = ConvType->castAs<FunctionProtoType>()->getParamTypes(); in CompleteNonViableCandidate()
[all …]
H A DSemaInit.cpp4324 QualType ConvType = CD->getConversionType(); in TryConstructorInitialization() local
4325 assert(S.Context.hasSameUnqualifiedType(ConvType, DestType) && in TryConstructorInitialization()
4327 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization()
4329 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization()
5819 QualType ConvType = Function->getCallResultType(); in TryUserDefinedConversion() local
5820 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType, in TryUserDefinedConversion()
5823 if (ConvType->getAs<RecordType>()) { in TryUserDefinedConversion()
5835 !S.Context.hasSameUnqualifiedType(ConvType, DestType)) in TryUserDefinedConversion()
5837 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion()
H A DSemaExprCXX.cpp3649 bool match(QualType ConvType) override { in ActOnCXXDelete() argument
3652 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in ActOnCXXDelete()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1744 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() local
1745 bool Hidden = ParentHiddenTypes.count(ConvType); in CollectVisibleConversions()
1747 HiddenTypesBuffer.insert(ConvType); in CollectVisibleConversions()