Home
last modified time | relevance | path

Searched refs:isDependentType (Results 1 – 25 of 58) sorted by relevance

123

/external/clang/lib/AST/
DType.cpp177 : Type(tc, canonType, vecType->isDependentType(), in VectorType()
891 assert(!isDependentType() && "This doesn't make sense for dependent types"); in isConstantSizeType()
1053 if (CanonicalType->isDependentType()) in isTrivialType()
1110 if (CanonicalType->isDependentType()) in isTriviallyCopyableType()
1141 if (isDependentType()) in isLiteralType()
1207 if (isDependentType()) in isStandardLayoutType()
1245 if (ty->isDependentType()) in isCXX11PODType()
1327 if (this->isDependentType() || ET->getDecl()->getPromotionType().isNull() in isPromotableIntegerType()
1564 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
1594 result->isDependentType(), in FunctionProtoType()
[all …]
DExprCXX.cpp146 ty->isDependentType(), ty->isDependentType(), in CXXNewExpr()
222 if (ArgType->isDependentType() && !ArgType->isPointerType()) in getDestroyedType()
245 DestroyedType.getTypeSourceInfo()->getType()->isDependentType())), in CXXPseudoDestructorExpr()
859 T->isDependentType(), T->isDependentType(), in CXXConstructExpr()
938 T->isDependentType(), T->isDependentType(), T->isDependentType(), in LambdaExpr()
1151 Type->getType()->isDependentType(), true, true, in CXXUnresolvedConstructExpr()
1337 BaseType->isDependentType()), in UnresolvedMemberExpr()
1506 if (Args[I]->getType()->isDependentType()) in TypeTraitExpr()
DCXXInheritance.cpp195 if (BaseType->isDependentType()) in lookupInBases()
656 assert(!I.getType()->isDependentType() && in AddIndirectPrimaryBases()
678 assert(!I.getType()->isDependentType() && in getIndirectPrimaryBases()
DNestedNameSpecifier.cpp196 if (Base.getType()->isDependentType()) in isDependent()
204 return getAsType()->isDependentType(); in isDependent()
DExpr.cpp46 if (DerivedType->isDependentType()) in getBestDynamicClassType()
231 if (T->isDependentType()) { in computeDeclRefDependence()
244 if (T->isDependentType()) { in computeDeclRefDependence()
444 FNTy->isDependentType(), FNTy->isDependentType(), in PredefinedExpr()
1313 /*ValueDependent=*/tsi->getType()->isDependentType(), in OffsetOfExpr()
3498 : Expr(ObjCMessageExprClass, T, VK, OK_Ordinary, T->isDependentType(), in ObjCMessageExpr()
3499 T->isDependentType(), T->isInstantiationDependentType(), in ObjCMessageExpr()
3732 Type->isDependentType(), Type->isDependentType(), in ShuffleVectorExpr()
/external/clang/include/clang/AST/
DType.h1635 bool isDependentType() const { return TypeBits.Dependent; }
1940 Type(Complex, CanonicalPtr, Element->isDependentType(),
1970 Type(Paren, CanonType, InnerType->isDependentType(),
2001 Type(Pointer, CanonicalPtr, Pointee->isDependentType(),
2052 : Type(TC, CanonicalPtr, OriginalTy->isDependentType(),
2107 Type(BlockPointer, CanonicalCls, Pointee->isDependentType(),
2143 Type(tc, CanonicalRef, Referencee->isDependentType(),
2225 Cls->isDependentType() || Pointee->isDependentType(),
2294 : Type(tc, can, et->isDependentType() || tc == DependentSizedArray,
3210 : Type(tc, can, can->isDependentType(),
[all …]
DExpr.h827 T->isDependentType(),
828 T->isDependentType() ||
1683 input->isTypeDependent() || type->isDependentType(), in UnaryOperator()
1989 TInfo->getType()->isDependentType(), in UnaryExprOrTypeTraitExpr()
2604 tinfo->getType()->isDependentType(), in CompoundLiteralExpr()
2682 ty->isDependentType(), in CastExpr()
2685 ty->isDependentType() || (op && op->isValueDependent()), in CastExpr()
3404 T->isDependentType(), false, false, false), in StmtExpr()
3517 DstType->isDependentType(), in ConvertVectorExpr()
3518 DstType->isDependentType() || SrcExpr->isValueDependent(), in ConvertVectorExpr()
[all …]
DExprCXX.h501 Ty->isDependentType(), SubExpr->isValueDependent(), in CXXStdInitializerListExpr()
545 Operand->getType()->isDependentType(), in CXXTypeidExpr()
687 false, Operand->getType()->isDependentType(), in CXXUuidofExpr()
779 Type->isDependentType(), Type->isDependentType(), in CXXThisExpr()
2205 false, queried->getType()->isDependentType(), in ArrayTypeTraitExpr()
/external/clang/include/clang/Sema/
DLocInfoType.h39 : Type((TypeClass)LocInfo, ty, ty->isDependentType(), in LocInfoType()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp56 if (!T->isDependentType()) in computeDeclContext()
304 if (T->isDependentType()) in isAcceptableNestedNameSpecifier()
371 isDependent = ObjectType->isDependentType(); in isNonTypeNestedNameSpecifier()
480 isDependent = ObjectType->isDependentType(); in BuildCXXNestedNameSpecifier()
820 if (!T->isDependentType() && !T->getAs<TagType>()) { in ActOnCXXNestedNameSpecifierDecltype()
922 if (!T->isDependentType() && !T->getAs<TagType>()) { in ActOnCXXNestedNameSpecifier()
DSemaExprCXX.cpp162 isDependent = SearchType->isDependentType(); in getDestructorName()
176 isDependent = SearchType->isDependentType(); in getDestructorName()
208 if (SearchType.isNull() || SearchType->isDependentType() || in getDestructorName()
334 if (SearchType->isDependentType() || Context.hasSameUnqualifiedType(SearchType, T)) { in getDestructorType()
517 if (!Operand->getType()->isDependentType()) { in BuildCXXUuidof()
537 if (!E->getType()->isDependentType()) { in BuildCXXUuidof()
1015 if (Ty->isDependentType() || CallExpr::hasAnyTypeDependentArguments(Exprs)) { in BuildCXXTypeConstructExpr()
1470 } else if (!AllocType->isDependentType()) { in BuildCXXNew()
1504 if (!AllocType->isDependentType() && in BuildCXXNew()
1515 if (ArraySize && !AllocType->isDependentType()) in BuildCXXNew()
[all …]
DSemaStmtAsm.cpp281 if (Ty->isDependentType()) in ActOnGCCAsmStmt()
350 if (Ty->isDependentType() || Ty->isIncompleteType()) in ActOnGCCAsmStmt()
529 if (T->isDependentType()) { in LookupInlineAsmIdentifier()
DSemaDecl.cpp160 if (!TST || !TST->isDependentType()) in lookupUnqualifiedTypeNameInBase()
1450 WithinFunction || (R->isLocalClass() && !R->isDependentType()); in ShouldDiagnoseUnusedDecl()
1475 if (Ty->isIncompleteType() || Ty->isDependentType()) in ShouldDiagnoseUnusedDecl()
1522 if (D->getTypeForDecl()->isDependentType()) in DiagnoseUnusedNestedTypedefs()
1878 !OldType->isDependentType() && in isIncompatibleTypedef()
1879 !NewType->isDependentType() && in isIncompatibleTypedef()
2750 !((NewQType->isDependentType() || OldQType->isDependentType()) && in MergeFunctionDecl()
2779 OldAT->isDependentType() ? Context.DependentTy in MergeFunctionDecl()
2783 OldAT->isDependentType() ? Context.DependentTy in MergeFunctionDecl()
2918 if ((NewQType->isDependentType() || OldQType->isDependentType()) && in MergeFunctionDecl()
[all …]
DSemaAccess.cpp302 assert(T->isDependentType() && "non-dependent base wasn't a record?"); in IsDerivedFromInclusive()
348 if (!Friend->isDependentType() && !Context->isDependentType()) in MightInstantiateTo()
430 if (Friend->isDependentType()) in MatchesFriend()
661 assert(T->isDependentType() && "non-dependent base wasn't a record?"); in findFriendship()
DSemaExprMember.cpp471 assert(BaseType->isDependentType() || in ActOnDependentMemberExpr()
522 assert(BaseType->isDependentType()); in CheckQualifiedMemberReference()
700 if (BaseType->isDependentType() || in BuildMemberReferenceExpr()
1205 assert(!BaseType->isDependentType()); in LookupMemberExpr()
1654 if (Base->getType()->isDependentType() || Name.isDependentName() || in ActOnMemberAccessExpr()
DSemaType.cpp984 if (!Result->isDependentType()) in ConvertDeclSpecToType()
1235 } else if (!T->isDependentType()) { in BuildQualifiedType()
1565 if (!MPTy->getClass()->isDependentType()) in BuildArrayType()
1626 } else if ((!T->isDependentType() && !T->isIncompleteType() && in BuildArrayType()
1668 } else if (!T->isDependentType() && !T->isVariablyModifiedType() && in BuildArrayType()
1694 if (!T->isDependentType() && in BuildArrayType()
1731 if (!T->isDependentType() && in BuildExtVectorType()
1855 if (!Class->isDependentType() && !Class->isRecordType()) { in BuildMemberPointerType()
2835 (T->isDependentType() || T->isRecordType()))) { in GetFullTypeForDeclarator()
4079 if (!type->isDependentType() && !type->isUndeducedType()) { in handleObjCOwnershipTypeAttr()
[all …]
DSemaStmt.cpp1809 if (!FirstType->isDependentType() && in ActOnObjCForCollectionStmt()
2135 if (RangeVarType->isDependentType()) { in BuildCXXForRangeStmt()
2652 if (!ReturnType.isNull() && !ReturnType->isDependentType()) { in isCopyElisionCandidate()
2656 if (!VDType->isDependentType() && in isCopyElisionCandidate()
2678 if (!VD->getType()->isDependentType() && VD->hasAttr<AlignedAttr>() && in isCopyElisionCandidate()
2853 if (FnRetType->isDependentType()) { in ActOnCapScopeReturnStmt()
2938 R->isDependentType()) in VisitRecordType()
3118 bool HasDependentReturnType = FnRetType->isDependentType(); in BuildReturnStmt()
3323 if (!ThrowType->isDependentType() && in BuildObjCAtThrowStmt()
3362 if (!type->isDependentType() && in ActOnObjCAtSynchronizedOperand()
DSemaDeclCXX.cpp751 if (!(*i)->isDependentType() && in CheckConstexprParameterTypes()
822 if (!RT->isDependentType() && in CheckConstexprFunctionDecl()
905 if (!VD->getType()->isDependentType() && in CheckConstexprDeclStmt()
911 if (!VD->getType()->isDependentType() && in CheckConstexprDeclStmt()
1206 Dcl->getReturnType()->isDependentType()); in CheckConstexprFunctionBody()
1403 if (BaseType->isDependentType()) { in CheckBaseSpecifier()
1903 MD->getType()->isDependentType())) in CheckOverrideControl()
2736 if (!FD->getType()->isDependentType() && !InitExpr->isTypeDependent()) { in ActOnFinishCXXInClassMemberInitializer()
3100 if (Member->getType()->isDependentType() || Init->isTypeDependent()) { in BuildMemberInitializer()
3213 if (!BaseType->isDependentType() && !BaseType->isRecordType()) in BuildBaseInitializer()
[all …]
DSemaTemplateDeduction.cpp1112 !DeducedType->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1172 if (!Param->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
1183 } else if (!Param->isDependentType()) { in DeduceTemplateArgumentsByTypeMatch()
2140 if (NTTPType->isDependentType()) { in FinishTemplateArgumentDeduction()
2308 if (NTTPType->isDependentType()) { in FinishTemplateArgumentDeduction()
2808 if (NTTPType->isDependentType()) { in FinishTemplateArgumentDeduction()
3890 !Replacement.isNull() && Replacement->isDependentType(); in TransformAutoType()
3936 if (Init->isTypeDependent() || Type.getType()->isDependentType()) { in DeduceAutoType()
4668 if (!T->isDependentType()) in MarkUsedTemplateParameters()
4977 if (!T->isDependentType()) in hasDeducibleTemplateParameters()
DSemaDeclAttr.cpp631 if (!QT->isDependentType()) { in checkAcquireOrderAttrCommon()
1043 if (!FD->getType()->isDependentType() && in handlePackedAttr()
1204 if (T->isDependentType() || S.isValidPointerAttrType(T)) in handleNonNullAttr()
2840 if (!T->isDependentType() && !T->isAnyPointerType() && in AddAlignValueAttr()
2899 if (!TND->getUnderlyingType()->isDependentType()) { in handleAlignedAttr()
3017 if (DiagTy->isDependentType() || DiagTy->isIncompleteType()) in CheckAlignasUnderalignment()
3597 return type->isDependentType() || in isValidSubjectOfNSReturnsRetainedAttribute()
3602 return type->isDependentType() || in isValidSubjectOfNSAttribute()
3607 return type->isDependentType() || in isValidSubjectOfCFAttribute()
3889 if (!type->isDependentType() && in handleObjCPreciseLifetimeAttr()
[all …]
DSemaOpenMP.cpp828 if (QType->isDependentType() || QType->isInstantiationDependentType()) { in CheckOMPThreadPrivateDecl()
2007 return Var->getType()->isDependentType() || (LB && LB->isValueDependent()) || in Dependent()
2463 if (!VarType->isDependentType() && !VarType->isIntegerType() && in CheckOpenMPIterationSpace()
4645 if (Type->isDependentType() || Type->isInstantiationDependentType()) { in ActOnOpenMPPrivateClause()
4785 if (Type->isDependentType() || Type->isInstantiationDependentType()) { in ActOnOpenMPFirstprivateClause()
5017 if (Type->isDependentType() || Type->isInstantiationDependentType()) { in ActOnOpenMPLastprivateClause()
5150 if (Type->isDependentType() || Type->isInstantiationDependentType()) { in ActOnOpenMPSharedClause()
5689 if (QType->isDependentType() || QType->isInstantiationDependentType()) { in ActOnOpenMPLinearClause()
5727 if (!Ty || (!Ty->isDependentType() && !Ty->isIntegralType(Context) && in ActOnOpenMPLinearClause()
5881 if (!Ty || (!Ty->isDependentType() && !Ty->isArrayType() && in ActOnOpenMPAlignedClause()
[all …]
DSemaTemplate.cpp261 isDependent = ObjectType->isDependentType(); in LookupTemplateName()
644 T->isDependentType()) { in CheckNonTypeTemplateParameterType()
1095 assert(T->isDependentType() && "Class template type is not dependent?"); in CheckClassTemplate()
1794 } else if (Record->isDependentType()) { in MatchTemplateParametersToScopeSpecifier()
1883 if (IsFriend && T->isDependentType()) { in MatchTemplateParametersToScopeSpecifier()
3165 if (ArgType->getType()->isDependentType()) { in SubstDefaultTemplateArgument()
3418 if (NTTPType->isDependentType() && in CheckTemplateArgument()
4783 if (ParamType->isDependentType() || Arg->isTypeDependent()) { in CheckTemplateArgument()
5517 (OldNTTP->getType()->isDependentType() || in MatchTemplateParameterKind()
5518 NewNTTP->getType()->isDependentType())) in MatchTemplateParameterKind()
[all …]
DSemaExceptionSpec.cpp812 if (New->getParent()->isDependentType()) in CheckOverridingFunctionExceptionSpec()
995 if (DTy.isNull() || DTy->isDependentType()) { in canThrow()
/external/clang/lib/ARCMigrate/
DTransARCAssign.cpp43 if (Exp->getType()->isDependentType()) in VisitBinaryOperator()
/external/clang/tools/libclang/
DCXType.cpp711 if (QT->isDependentType()) in clang_Type_getAlignOf()
746 if (QT->isDependentType()) in clang_Type_getSizeOf()
763 if (FQT->isDependentType()) in visitRecordForValidation()
795 if (RT->isDependentType()) in validateFieldParentType()

123