Home | History | Annotate | Download | only in Sema

Lines Matching full:dyn_cast

199   if (TypeDecl *TD = dyn_cast<TypeDecl>(IIDecl)) {
220 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) {
678 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) {
684 ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(FirstDecl);
688 = dyn_cast<ObjCCompatibleAliasDecl>(FirstDecl))
732 while (CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(DC->getLexicalParent()))
961 if (const CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(D))
963 if (const CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D))
979 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
983 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) {
996 } else if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
1021 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
1027 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
1053 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D)) {
1059 if (const TypedefType *TT = dyn_cast<TypedefType>(Ty)) {
1074 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Tag)) {
1134 if (LabelDecl *LD = dyn_cast<LabelDecl>(D))
1265 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(R)) {
1357 if (TypedefNameDecl *OldTypedef = dyn_cast<TypedefNameDecl>(Old))
1382 if (TypedefNameDecl *Typedef = dyn_cast<TypedefNameDecl>(Old))
1445 const OwnershipAttr *OA = dyn_cast<OwnershipAttr>(A);
1525 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(MD)) {
1569 = dyn_cast<FunctionTemplateDecl>(OldD))
1572 Old = dyn_cast<FunctionDecl>(OldD);
1574 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) {
1703 const CXXMethodDecl* OldMethod = dyn_cast<CXXMethodDecl>(Old);
1704 CXXMethodDecl* NewMethod = dyn_cast<CXXMethodDecl>(New);
1789 (OldProto = dyn_cast<FunctionProtoType>(OldFuncType))) {
2040 !(Old = dyn_cast<VarDecl>(Previous.getFoundDecl()))) {
2193 Tag = dyn_cast<TagDecl>(TagD);
2411 if (IndirectFieldDecl *IF = dyn_cast<IndirectFieldDecl>(VD))
2556 if (FieldDecl *FD = dyn_cast<FieldDecl>(*Mem)) {
2581 } else if (RecordDecl *MemRecord = dyn_cast<RecordDecl>(*Mem)) {
2635 if (RecordDecl *OwningClass = dyn_cast<RecordDecl>(Owner)) {
2819 CXXRecordDecl *CurClass = dyn_cast<CXXRecordDecl>(CurContext);
2973 if (CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(DC))
3232 if (const PointerType* PTy = dyn_cast<PointerType>(Ty)) {
3241 if (const ParenType* PTy = dyn_cast<ParenType>(Ty)) {
3251 const VariableArrayType* VLATy = dyn_cast<VariableArrayType>(T);
3520 if (VarDecl *var = dyn_cast<VarDecl>(decl)) {
3545 if (VarDecl *var = dyn_cast<VarDecl>(decl)) {
3629 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(DC)) {
3792 VarDecl *Def = dyn_cast
3847 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewDC))
3851 if (VarDecl *shadowedVar = dyn_cast<VarDecl>(ShadowedDecl))
4076 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D)) {
4097 if (CXXMethodDecl *OldMD = dyn_cast<CXXMethodDecl>(*I)) {
4844 FunctionDecl *PrevFD = dyn_cast<FunctionDecl>(Previous.getFoundDecl());
5013 = dyn_cast<FunctionTemplateDecl>(OldDecl)) {
5019 = dyn_cast<CXXMethodDecl>(NewTemplateDecl->getTemplatedDecl())) {
5042 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(NewFD)) {
5045 dyn_cast<CXXDestructorDecl>(NewFD)) {
5061 = dyn_cast<CXXConversionDecl>(NewFD)) {
5066 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(NewFD)) {
5254 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(SubExpr);
5280 if (VarDecl *vd = dyn_cast<VarDecl>(RealDecl)) {
5290 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(RealDecl)) {
5295 if ((IL = dyn_cast<IntegerLiteral>(Init)) && IL->getValue() == 0 &&
5306 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl);
5560 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Init)) {
5593 VarDecl *VD = dyn_cast<VarDecl>(D);
5631 if (VarDecl *Var = dyn_cast<VarDecl>(RealDecl)) {
5803 VarDecl *VD = dyn_cast<VarDecl>(D);
5949 if (VarDecl *D = dyn_cast<VarDecl>(Group[i])) {
6318 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(D))
6478 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(FD))
6514 if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(dcl)) {
6602 FunctionDecl *FD = dyn_cast<FunctionDecl>(ActOnDeclarator(TUScope, D));
6783 if (const CXXRecordDecl *Record = dyn_cast<CXXRecordDecl>(Previous))
7145 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(PrevDecl)) {
7160 if (TagDecl *PrevTagDecl = dyn_cast<TagDecl>(PrevDecl)) {
7206 if (TypeSourceInfo *TI = EnumUnderlying.dyn_cast<TypeSourceInfo*>())
7328 } else if (TypedefNameDecl *TND = dyn_cast<TypedefNameDecl>(PrevDecl)) {
7404 if (TypeSourceInfo *TI = EnumUnderlying.dyn_cast<TypeSourceInfo*>())
7442 if (RecordDecl *RD = dyn_cast<RecordDecl>(New)) {
8171 dyn_cast<ObjCImplementationDecl>(EnclosingDecl)) {
8181 dyn_cast<ObjCCategoryDecl>(EnclosingDecl)) {
8244 ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(EnclosingDecl);
8246 if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(EnclosingDecl)) {
8286 RecordDecl *Record = dyn_cast<RecordDecl>(EnclosingDecl);
8448 if (CXXRecordDecl *CXXRecord = dyn_cast<CXXRecordDecl>(Record)) {
8565 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(EnclosingDecl)) {
8577 dyn_cast<ObjCImplementationDecl>(EnclosingDecl)) {
8585 dyn_cast<ObjCCategoryDecl>(EnclosingDecl)) {
8851 = dyn_cast<CXXRecordDecl>(
9122 if (NamedDecl *ND = dyn_cast<NamedDecl>(PrevDecl))