Home | History | Annotate | Download | only in Sema

Lines Matching full:dyn_cast

87   if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
168 if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) {
179 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
189 } else if (VarDecl *V = dyn_cast<VarDecl>(D)) {
196 if (const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT)) {
295 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(E->IgnoreParenCasts()))
1080 if (FunctionDecl *fn = dyn_cast<FunctionDecl>(var->getDeclContext()))
1119 VarDecl *var = dyn_cast<VarDecl>(value);
1347 CXXMethodDecl *CurMethod = dyn_cast<CXXMethodDecl>(CurContext);
1904 CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Member->getDeclContext());
1924 } else if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Member)) {
2173 if (TemplateDecl *Template = dyn_cast<TemplateDecl>(D)) {
2183 ValueDecl *VD = dyn_cast<ValueDecl>(D);
2205 if (IndirectFieldDecl *indirectField = dyn_cast<IndirectFieldDecl>(VD))
2344 if (const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(VD->getType()))
2711 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(Op->IgnoreParens())) {
2712 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) {
2795 if (MemberExpr *ME = dyn_cast<MemberExpr>(E))
3441 if (UnaryOperator *UnOp = dyn_cast
3583 if (const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FuncT)) {
4151 ParenExpr *PE = dyn_cast<ParenExpr>(castExpr);
4152 ParenListExpr *PLE = dyn_cast<ParenListExpr>(castExpr);
4212 if (ParenListExpr *PE = dyn_cast<ParenListExpr>(E)) {
4281 ParenListExpr *E = dyn_cast<ParenListExpr>(expr);
4763 if (BinaryOperator *OP = dyn_cast<BinaryOperator>(E)) {
4772 if (CXXOperatorCallExpr *Call = dyn_cast<CXXOperatorCallExpr>(E)) {
4805 if (BinaryOperator *OP = dyn_cast<BinaryOperator>(E))
4807 if (UnaryOperator *OP = dyn_cast<UnaryOperator>(E))
5204 if (const PointerType *lhsPointer = dyn_cast<PointerType>(lhsType)) {
5911 if (const EnumType *ET = dyn_cast<EnumType>(T))
6024 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(DC))
6076 if (DeclRefExpr* DRL = dyn_cast<DeclRefExpr>(LHSStripped)) {
6077 if (DeclRefExpr* DRR = dyn_cast<DeclRefExpr>(RHSStripped)) {
6479 if (DeclRefExpr* DRL = dyn_cast<DeclRefExpr>(lex.get()->IgnoreParens()))
6480 if (DeclRefExpr* DRR = dyn_cast<DeclRefExpr>(rex.get()->IgnoreParens()))
6674 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
6802 if (ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(RHSCheck))
6804 if (UnaryOperator *UO = dyn_cast<UnaryOperator>(RHSCheck)) {
7066 if (ImplicitCastExpr* ICE = dyn_cast<ImplicitCastExpr>(Base)) {
7123 if (UnaryOperator* uOp = dyn_cast<UnaryOperator>(op)) {
7197 if (const VarDecl *vd = dyn_cast<VarDecl>(dcl)) {
7368 const DeclRefExpr *LeftDeclRef = dyn_cast<DeclRefExpr>(lhs);
7369 const DeclRefExpr *RightDeclRef = dyn_cast<DeclRefExpr>(rhs);
7592 if (BinOp *BO = dyn_cast<BinOp>(lhs))
7594 if (BinOp *BO = dyn_cast<BinOp>(rhs))
7680 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(OrLHS)) {
7689 if (BinaryOperator *RBop = dyn_cast<BinaryOperator>(Bop->getRHS())) {
7702 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(OrRHS)) {
7717 if (BinaryOperator *Bop = dyn_cast<BinaryOperator>(OrArg)) {
7967 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(s);
7970 ImplicitCastExpr *cast = dyn_cast<ImplicitCastExpr>(cleanups->getSubExpr());
8006 while (LabelStmt *Label = dyn_cast<LabelStmt>(LastStmt)) {
8011 if (Expr *LastE = dyn_cast<Expr>(LastStmt)) {
8149 if (CXXRecordDecl *CRD = dyn_cast<CXXRecordDecl>(RD)) {
8627 StringLiteral *SL = dyn_cast<StringLiteral>(SrcExpr->IgnoreParenCasts());
8919 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) {
8932 } else if (CXXDestructorDecl *Destructor = dyn_cast<CXXDestructorDecl>(D)) {
8937 } else if (CXXMethodDecl *MethodDecl = dyn_cast<CXXMethodDecl>(D)) {
8945 if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
8997 if (VarDecl *Var = dyn_cast<VarDecl>(D)) {
9057 = dyn_cast<ClassTemplateSpecializationDecl>(T->getDecl())) {
9215 = dyn_cast<ObjCMessageExpr>(Op->getRHS()->IgnoreParenCasts())) {
9269 if (BinaryOperator *opE = dyn_cast<BinaryOperator>(E))
9286 if (ParenExpr *parenE = dyn_cast<ParenExpr>(E))
9534 if (const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(fnType))
9613 if (FunctionDecl *fn = dyn_cast<FunctionDecl>(decl)) {
9618 if (CXXMethodDecl *method = dyn_cast<CXXMethodDecl>(fn))
9672 if (CallExpr *call = dyn_cast<CallExpr>(e)) {
9682 if (DeclRefExpr *ref = dyn_cast<DeclRefExpr>(e)) {
9685 } else if (MemberExpr *mem = dyn_cast<MemberExpr>(e)) {
9688 } else if (ObjCMessageExpr *msg = dyn_cast<ObjCMessageExpr>(e)) {