Home | History | Annotate | Download | only in Sema

Lines Matching full:dyn_cast

78     if (ParmVarDecl *Param = dyn_cast<ParmVarDecl>(Decl)) {
90 } else if (VarDecl *VDecl = dyn_cast<VarDecl>(Decl)) {
396 CXXMethodDecl* MD = dyn_cast<CXXMethodDecl>(New);
479 = dyn_cast<CXXRecordDecl>(New->getDeclContext())) {
492 } else if (CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(New)) {
725 CXXRecordDecl *Class = dyn_cast<CXXRecordDecl>(classdecl);
1020 const CXXMethodDecl *MD = llvm::dyn_cast<CXXMethodDecl>(D);
1184 if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(Member))
1189 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(Member);
1198 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(Member);
1341 = dyn_cast<CXXConstructorDecl>(ConstructorD);
1368 Member = dyn_cast<FieldDecl>(*Result.first);
1381 = dyn_cast<IndirectFieldDecl>(*Result.first)) {
1518 if (const MemberExpr *ME = dyn_cast<MemberExpr>(S)) {
1521 if (const VarDecl *VD = dyn_cast<VarDecl>(RhsField)) {
1552 } else if (const UnaryOperator *UOE = dyn_cast<UnaryOperator>(S)) {
1574 FieldDecl *DirectMember = dyn_cast<FieldDecl>(Member);
1575 IndirectFieldDecl *IndirectMember = dyn_cast<IndirectFieldDecl>(Member);
2573 = dyn_cast<CXXConstructorDecl>(ConstructorDecl);
2737 = dyn_cast<CXXConstructorDecl>(CDtorDecl))
3987 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D)) {
4029 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(*res.first))
4034 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*res.first))
4035 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(shad->getTargetDecl()))
4130 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(D))
4133 = dyn_cast<ClassTemplatePartialSpecializationDecl>(D))
4211 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(Method))
4293 = dyn_cast<CXXRecordDecl>(Constructor->getDeclContext());
4725 if (TranslationUnitDecl *TU = dyn_cast<TranslationUnitDecl>(Parent)) {
5056 if (TypedefNameDecl *TD1 = dyn_cast<TypedefNameDecl>(D1))
5057 if (TypedefNameDecl *TD2 = dyn_cast<TypedefNameDecl>(D2)) {
5489 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
5493 = dyn_cast<UnresolvedUsingValueDecl>(D)) {
5497 = dyn_cast<UnresolvedUsingTypenameDecl>(D)) {
5819 if (NamespaceAliasDecl *AD = dyn_cast<NamespaceAliasDecl>(PrevDecl)) {
6455 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(D))
7393 VarDecl *VDecl = dyn_cast<VarDecl>(RealDecl);
7725 if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(FnDecl)) {
8644 if (FunctionTemplateDecl *FTD = dyn_cast<FunctionTemplateDecl>(ND))
8660 FunctionDecl *Fn = dyn_cast<FunctionDecl>(Dcl);
8675 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(Dcl);