Lines Matching full:dyn_cast
67 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P)) {
73 if (NonTypeTemplateParmDecl *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
112 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(*P))
121 = dyn_cast<NonTypeTemplateParmDecl>(*P)) {
676 } else if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) {
707 if (const FieldDecl *field = dyn_cast<FieldDecl>(VD)) {
944 if (const EnumType *ET = dyn_cast<EnumType>(TT))
1107 if (const ObjCInterfaceDecl *OI = dyn_cast<ObjCInterfaceDecl>(CDecl)) {
1130 } else if (const ObjCCategoryDecl *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) {
1139 } else if (const ObjCProtocolDecl *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) {
1343 if (const FunctionNoProtoType *FNPT = dyn_cast<FunctionNoProtoType>(T)) {
2115 if (const TypedefNameDecl *Typedef = dyn_cast<TypedefNameDecl>(Decl))
2121 if (const RecordDecl *Record = dyn_cast<RecordDecl>(Decl)) {
2126 } else if (const EnumDecl *Enum = dyn_cast<EnumDecl>(Decl)) {
2131 dyn_cast<UnresolvedUsingTypenameDecl>(Decl)) {
2776 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(e)) {
2777 if (const ValueDecl *VD = dyn_cast<ValueDecl>(DRE->getDecl()))
2780 if (const MemberExpr *ME = dyn_cast<MemberExpr>(e)) {
2781 if (const FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()))
2787 if (const CallExpr *CE = dyn_cast<CallExpr>(e->IgnoreParens()))
2955 dyn_cast<ArrayType>(splitType.first->getUnqualifiedDesugaredType());
2979 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(AT)) {
2984 if (const IncompleteArrayType *IAT = dyn_cast<IncompleteArrayType>(AT)) {
2988 dyn_cast<VariableArrayType>(AT)) {
3100 = dyn_cast<TemplateTemplateParmDecl>(Template))
3264 if (const ArrayType *AT = dyn_cast<ArrayType>(T))
3284 const ArrayType *ATy = dyn_cast<ArrayType>(split.first);
3292 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(ATy))
3296 if (const IncompleteArrayType *IAT = dyn_cast<IncompleteArrayType>(ATy))
3302 = dyn_cast<DependentSizedArrayType>(ATy))
3387 CA = dyn_cast<ConstantArrayType>(CA->getElementType());
3452 if (const EnumType* ET = dyn_cast<EnumType>(T))
3909 if (const TypedefType *TT = dyn_cast<TypedefType>(T))
3974 dyn_cast<ArrayType>(PType->getCanonicalTypeInternal())) {
4015 dyn_cast<ArrayType>(PType->getCanonicalTypeInternal())) {
4069 dyn_cast<ArrayType>(PType->getCanonicalTypeInternal())) {
4122 dyn_cast<ObjCCategoryImplDecl>(Container)) {
4379 dyn_cast<ArrayType>(T->getCanonicalTypeInternal())) {
4389 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(AT)) {
4420 = dyn_cast<ClassTemplateSpecializationDecl>(RDecl)) {
4588 CXXRecordDecl *CXXRec = dyn_cast<CXXRecordDecl>(RDecl);
4680 if (CXXRecordDecl *base = dyn_cast<CXXRecordDecl>(dcl)) {
4959 while (const ArrayType *AT = dyn_cast<ArrayType>(CT))
5500 const FunctionProtoType *lproto = dyn_cast<FunctionProtoType>(lbase);
5501 const FunctionProtoType *rproto = dyn_cast<FunctionProtoType>(rbase);
5988 if (const EnumType *ET = dyn_cast<EnumType>(T))
6391 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
6405 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
6415 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {
6446 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(RT->getDecl())) {