Home | History | Annotate | Download | only in libclang

Lines Matching full:dyn_cast

547           if (MacroExpansion *ME = dyn_cast<MacroExpansion>(*E)) {
554 if (MacroDefinition *MD = dyn_cast<MacroDefinition>(*E)) {
561 if (InclusionDirective *ID = dyn_cast<InclusionDirective>(*E)) {
689 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) {
767 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL);
795 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(ND)) {
1027 ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(PD->getDeclContext());
1236 if (const TypedefType *Typedef = dyn_cast<TypedefType>(T))
1238 if (const TagType *Tag = dyn_cast<TagType>(T))
1241 = dyn_cast<TemplateSpecializationType>(T))
2930 if (CastExpr *CE = dyn_cast<CastExpr>(E))
2933 if (DeclRefExpr *RefExpr = dyn_cast<DeclRefExpr>(E))
2935 if (BlockDeclRefExpr *RefExpr = dyn_cast<BlockDeclRefExpr>(E))
2937 if (MemberExpr *ME = dyn_cast<MemberExpr>(E))
2939 if (ObjCIvarRefExpr *RE = dyn_cast<ObjCIvarRefExpr>(E))
2941 if (ObjCPropertyRefExpr *PRE = dyn_cast<ObjCPropertyRefExpr>(E))
2944 if (CallExpr *CE = dyn_cast<CallExpr>(E))
2946 if (CXXConstructExpr *CE = llvm::dyn_cast<CXXConstructExpr>(E))
2949 if (ObjCMessageExpr *OME = dyn_cast<ObjCMessageExpr>(E))
2952 if (ObjCProtocolExpr *PE = dyn_cast<ObjCProtocolExpr>(E))
2955 = dyn_cast<SubstNonTypeTemplateParmPackExpr>(E))
2957 if (SizeOfPackExpr *SizeOfPack = dyn_cast<SizeOfPackExpr>(E))
2966 if (ObjCMessageExpr *Msg = dyn_cast<ObjCMessageExpr>(E))
2968 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
2970 if (BlockDeclRefExpr *RefExpr = dyn_cast<BlockDeclRefExpr>(E))
2972 if (MemberExpr *Member = dyn_cast<MemberExpr>(E))
2974 if (ObjCIvarRefExpr *Ivar = dyn_cast<ObjCIvarRefExpr>(E))
2976 if (SizeOfPackExpr *SizeOfPack = dyn_cast<SizeOfPackExpr>(E))
3033 if (ObjCPropertyImplDecl *PropImpl =llvm::dyn_cast<ObjCPropertyImplDecl>(D))
3040 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND))
3043 if (ObjCCategoryImplDecl *CIMP = dyn_cast<ObjCCategoryImplDecl>(ND))
3120 if (Decl *D = Storage.dyn_cast<Decl *>()) {
3121 if (NamedDecl *ND = dyn_cast<NamedDecl>(D))
3125 if (OverloadExpr *E = Storage.dyn_cast<OverloadExpr *>())
3180 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D))
3183 if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
3205 if (ClassTemplateDecl *ClassTemplate = dyn_cast<ClassTemplateDecl>(D)) {
3223 if (TemplateTypeParmDecl *TTP = dyn_cast<TemplateTypeParmDecl>(Param))
3226 = dyn_cast<NonTypeTemplateParmDecl>(Param))
3237 = dyn_cast<ClassTemplateSpecializationDecl>(D)) {
3697 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(D))
3704 if (VarDecl *VD = dyn_cast<VarDecl>(D)) {
3779 if (VarDecl *VD = dyn_cast<VarDecl>(D)) {
3798 if (const DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) {
3801 } else if (TypedefDecl *Typedef = dyn_cast<TypedefDecl>(D)) {
3815 if (VarDecl *VD = dyn_cast<VarDecl>(D)) {
3843 if (UsingDecl *Using = dyn_cast<UsingDecl>(D))
3845 if (ObjCClassDecl *Classes = dyn_cast<ObjCClassDecl>(D))
3848 = dyn_cast<ObjCForwardProtocolDecl>(D))
3850 if (ObjCPropertyImplDecl *PropImpl =llvm::dyn_cast<ObjCPropertyImplDecl>(D))
4063 = dyn_cast<ObjCInterfaceDecl>(Method->getDeclContext()))
4145 if (ObjCCategoryImplDecl *CatImplD = dyn_cast<ObjCCategoryImplDecl>(D))
4149 if (ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D))
4164 if (OverloadExpr *E = Storage.dyn_cast<OverloadExpr *>())
4168 = Storage.dyn_cast<OverloadedTemplateStorage*>())
4172 if (UsingDecl *Using = dyn_cast<UsingDecl>(D))
4174 if (ObjCClassDecl *Classes = dyn_cast<ObjCClassDecl>(D))
4176 if (ObjCForwardProtocolDecl *Protocols =dyn_cast<ObjCForwardProtocolDecl>(D))
4191 if (OverloadExpr *E = Storage.dyn_cast<OverloadExpr *>())
4195 = Storage.dyn_cast<OverloadedTemplateStorage*>())
4199 if (UsingDecl *Using = dyn_cast<UsingDecl>(D)) {
4206 if (ObjCClassDecl *Classes = dyn_cast<ObjCClassDecl>(D))
4209 if (ObjCForwardProtocolDecl *Protocols = dyn_cast<ObjCForwardProtocolDecl>(D))
4224 FunctionDecl *FD = dyn_cast<FunctionDecl>(ND);
4225 CompoundStmt *Body = dyn_cast<CompoundStmt>(FD->getBody());
4616 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) {
4622 if (const DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) {
4625 } else if (TypedefDecl *Typedef = dyn_cast<TypedefDecl>(D)) {
5077 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
5081 if (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(D))
5133 if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(Ctx))
5136 ObjCContainerDecl *Container = dyn_cast<ObjCContainerDecl>(Ctx);
5150 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
5157 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(Container)) {
5164 if (ObjCInterfaceDecl *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) {
5200 if (CXXMethodDecl *CXXMethod = dyn_cast<CXXMethodDecl>(D)) {
5215 ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(D);
5259 Method = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl());
5272 Method = dyn_cast<CXXMethodDecl>(FunTmpl->getTemplatedDecl());