Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclCXX.cpp7102 QualType ConvType = in CheckConversionDeclarator() local
7136 if (Proto->getReturnType() != ConvType) { in CheckConversionDeclarator()
7207 ConvType = Proto->getReturnType(); in CheckConversionDeclarator()
7213 if (ConvType->isArrayType()) { in CheckConversionDeclarator()
7215 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
7217 } else if (ConvType->isFunctionType()) { in CheckConversionDeclarator()
7219 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
7227 R = Context.getFunctionType(ConvType, None, Proto->getExtProtoInfo()); in CheckConversionDeclarator()
7248 QualType ConvType = Context.getCanonicalType(Conversion->getConversionType()); in ActOnConversionDeclarator() local
7260 if (const ReferenceType *ConvTypeRef = ConvType->getAs<ReferenceType>()) in ActOnConversionDeclarator()
[all …]
DSemaInit.cpp4687 QualType ConvType = Function->getCallResultType(); in TryUserDefinedConversion() local
4688 if (ConvType->getAs<RecordType>()) { in TryUserDefinedConversion()
4700 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType, in TryUserDefinedConversion()
DSemaExprCXX.cpp2868 bool match(QualType ConvType) override { in ActOnCXXDelete() argument
2871 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in ActOnCXXDelete()
/external/clang/lib/AST/
DDeclCXX.cpp1141 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() local
1142 bool Hidden = ParentHiddenTypes.count(ConvType); in CollectVisibleConversions()
1144 HiddenTypesBuffer.insert(ConvType); in CollectVisibleConversions()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp7225 QualType ConvType, QualType ToType, in isAllowableExplicitConversion() argument
7230 if (S.Context.hasSameUnqualifiedType(ConvType, ToNonRefType)) in isAllowableExplicitConversion()
7235 if (S.IsQualificationConversion(ConvType, ToNonRefType, /*CStyle*/false, in isAllowableExplicitConversion()
7247 return S.isObjCPointerConversion(ConvType, ToNonRefType, ConvertedType, in isAllowableExplicitConversion()
7264 QualType ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate() local
7270 if (getLangOpts().CPlusPlus14 && ConvType->isUndeducedType()) { in AddConversionCandidate()
7273 ConvType = Conversion->getConversionType().getNonReferenceType(); in AddConversionCandidate()
7289 !isAllowableExplicitConversion(*this, ConvType, ToType, in AddConversionCandidate()
7304 Candidate.FinalConversion.setFromType(ConvType); in AddConversionCandidate()
11538 QualType ConvType in CompleteNonViableCandidate() local
[all …]
DSemaDeclCXX.cpp10464 QualType ConvType = in CheckConversionDeclarator() local
10508 if (Proto->getReturnType() != ConvType) { in CheckConversionDeclarator()
10579 ConvType = Proto->getReturnType(); in CheckConversionDeclarator()
10585 if (ConvType->isArrayType()) { in CheckConversionDeclarator()
10587 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
10589 } else if (ConvType->isFunctionType()) { in CheckConversionDeclarator()
10591 ConvType = Context.getPointerType(ConvType); in CheckConversionDeclarator()
10599 R = Context.getFunctionType(ConvType, None, Proto->getExtProtoInfo()); in CheckConversionDeclarator()
10620 QualType ConvType = Context.getCanonicalType(Conversion->getConversionType()); in ActOnConversionDeclarator() local
10629 if (const ReferenceType *ConvTypeRef = ConvType->getAs<ReferenceType>()) in ActOnConversionDeclarator()
[all …]
DSemaInit.cpp4131 QualType ConvType = CD->getConversionType(); in TryConstructorInitialization() local
4132 assert(S.Context.hasSameUnqualifiedType(ConvType, DestType) && in TryConstructorInitialization()
4134 Sequence.AddUserConversionStep(CD, Best->FoundDecl, ConvType, in TryConstructorInitialization()
4136 if (!S.Context.hasSameType(ConvType, DestType)) in TryConstructorInitialization()
5303 QualType ConvType = Function->getCallResultType(); in TryUserDefinedConversion() local
5304 Sequence.AddUserConversionStep(Function, Best->FoundDecl, ConvType, in TryUserDefinedConversion()
5307 if (ConvType->getAs<RecordType>()) { in TryUserDefinedConversion()
5319 !S.Context.hasSameUnqualifiedType(ConvType, DestType)) in TryUserDefinedConversion()
5321 else if (!S.Context.hasSameType(ConvType, DestType)) in TryUserDefinedConversion()
DSemaExprCXX.cpp3404 bool match(QualType ConvType) override { in ActOnCXXDelete() argument
3407 if (const PointerType *ConvPtrType = ConvType->getAs<PointerType>()) in ActOnCXXDelete()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp1632 CanQualType ConvType(GetConversionType(Context, I.getDecl())); in CollectVisibleConversions() local
1633 bool Hidden = ParentHiddenTypes.count(ConvType); in CollectVisibleConversions()
1635 HiddenTypesBuffer.insert(ConvType); in CollectVisibleConversions()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp529 encodeMemSDNodeFlags(int ConvType, ISD::MemIndexedMode AM, bool isVolatile, in encodeMemSDNodeFlags() argument
531 assert((ConvType & 3) == ConvType && in encodeMemSDNodeFlags()
535 return ConvType | in encodeMemSDNodeFlags()