Home | History | Annotate | Download | only in Sema

Lines Matching full:dyn_cast

55   if (const ValueDecl *decl = dyn_cast<ValueDecl>(D))
57 else if (const FieldDecl *decl = dyn_cast<FieldDecl>(D))
59 else if (const TypedefNameDecl* decl = dyn_cast<TypedefNameDecl>(D))
95 if (const VarDecl *V = dyn_cast<VarDecl>(D)) {
128 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
136 if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
152 } else if (const BlockDecl *BD = dyn_cast<BlockDecl>(D))
160 if (const CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D))
217 TypedefNameDecl *tDecl = dyn_cast<TypedefNameDecl>(D);
263 if (TagDecl *TD = dyn_cast<TagDecl>(D))
265 else if (FieldDecl *FD = dyn_cast<FieldDecl>(D)) {
279 if (TagDecl *TD = dyn_cast<TagDecl>(D))
291 if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D))
330 if (const ValueDecl *VD = dyn_cast<ValueDecl>(D))
336 if (const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D))
713 StringLiteral *Str = dyn_cast<StringLiteral>(Arg);
738 StringLiteral *Str = dyn_cast<StringLiteral>(Arg);
795 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
866 ValueDecl *VD = dyn_cast<ValueDecl>(D);
974 if (const VarDecl *VD = dyn_cast<VarDecl>(D)) {
1058 StringLiteral *SE = dyn_cast<StringLiteral>(Attr.getArg(0));
1080 StringLiteral *SE = dyn_cast<StringLiteral>(Attr.getArg(0));
1163 StringLiteral *Str = dyn_cast<StringLiteral>(Arg);
1192 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(decl);
1248 ObjCInterfaceDecl *OCI = dyn_cast<ObjCInterfaceDecl>(D);
1262 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) {
1359 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
1372 } else if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) {
1381 } else if (const VarDecl *V = dyn_cast<VarDecl>(D)) {
1421 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D))
1513 StringLiteral *SE = dyn_cast<StringLiteral>(ArgExpr);
1587 VarDecl *VD = dyn_cast<VarDecl>(D);
1605 FunctionDecl *FD = dyn_cast<FunctionDecl>(CleanupDecl);
1760 QualType T = dyn_cast<VarDecl>(D)->getType();
1961 dyn_cast<TypedefNameDecl>(D);
1965 RD = dyn_cast<RecordDecl>(D);
2025 StringLiteral *SE = dyn_cast<StringLiteral>(ArgExpr);
2150 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D))
2152 else if (ValueDecl *VD = dyn_cast<ValueDecl>(D))
2249 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) {
2357 if (FunctionTypeLoc* FTL = dyn_cast<FunctionTypeLoc>(&TL)) {
2418 FunctionDecl *Fn = dyn_cast<FunctionDecl>(D);
2466 StringLiteral *Str = dyn_cast<StringLiteral>(Arg);
2521 StringLiteral *Str = dyn_cast<StringLiteral>(Arg);
2658 ParmVarDecl *param = dyn_cast<ParmVarDecl>(D);
2702 if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D))
2704 else if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D))
2709 else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
2843 StringLiteral *Str = dyn_cast<StringLiteral>(Arg);
3089 dyn_cast<NamedDecl>(D)->getNameAsString();
3099 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) {
3108 } else if (VarDecl *VD = dyn_cast<VarDecl>(ND)) {
3153 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) {