Lines Matching refs:dyn_cast
282 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp)) {
315 } else if (const MemberExpr *ME = dyn_cast<MemberExpr>(Exp)) {
323 } else if (const CXXMemberCallExpr *CMCE = dyn_cast<CXXMemberCallExpr>(Exp)) {
332 dyn_cast<MemberExpr>(CMCE->getCallee())->isArrow();
342 if (NDeref && dyn_cast<MemberExpr>(CMCE->getCallee())->isArrow())
355 } else if (const CallExpr *CE = dyn_cast<CallExpr>(Exp)) {
367 if (const CXXOperatorCallExpr *OE = dyn_cast<CXXOperatorCallExpr>(CE)) {
386 } else if (const BinaryOperator *BOE = dyn_cast<BinaryOperator>(Exp)) {
392 } else if (const UnaryOperator *UOE = dyn_cast<UnaryOperator>(Exp)) {
401 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UOE->getSubExpr())) {
419 dyn_cast<ArraySubscriptExpr>(Exp)) {
426 dyn_cast<AbstractConditionalOperator>(Exp)) {
433 } else if (const ChooseExpr *CE = dyn_cast<ChooseExpr>(Exp)) {
440 } else if (const CastExpr *CE = dyn_cast<CastExpr>(Exp)) {
442 } else if (const ParenExpr *PE = dyn_cast<ParenExpr>(Exp)) {
444 } else if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Exp)) {
446 } else if (const CXXBindTemporaryExpr *E = dyn_cast<CXXBindTemporaryExpr>(Exp)) {
475 if (const StringLiteral* SLit = dyn_cast<StringLiteral>(MutexExp)) {
495 if (const MemberExpr *ME = dyn_cast<MemberExpr>(DeclExp)) {
499 dyn_cast<CXXMemberCallExpr>(DeclExp)) {
501 CallCtx.SelfArrow = dyn_cast<MemberExpr>(CE->getCallee())->isArrow();
505 dyn_cast<CallExpr>(DeclExp)) {
509 dyn_cast<CXXConstructExpr>(DeclExp)) {
1197 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHSExp)) {
1595 } else if (CXXBoolLiteralExpr *BLE = dyn_cast<CXXBoolLiteralExpr>(E)) {
1598 } else if (IntegerLiteral *ILE = dyn_cast<IntegerLiteral>(E)) {
1601 } else if (ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E)) {
1617 if (const CallExpr *CallExp = dyn_cast<CallExpr>(Cond)) {
1620 else if (const ParenExpr *PE = dyn_cast<ParenExpr>(Cond)) {
1623 else if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(Cond)) {
1626 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) {
1629 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Cond)) {
1633 else if (const UnaryOperator *UOP = dyn_cast<UnaryOperator>(Cond)) {
1640 else if (const BinaryOperator *BOP = dyn_cast<BinaryOperator>(Cond)) {
1775 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(Exp))
1778 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Exp))
1781 if (const MemberExpr *ME = dyn_cast<MemberExpr>(Exp))
1854 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(Exp)) {
1862 if (const MemberExpr *ME = dyn_cast<MemberExpr>(Exp)) {
1880 if (GuardedByAttr *GBAttr = dyn_cast<GuardedByAttr>(ArgAttrs[i]))
1898 if (PtGuardedByAttr *GBAttr = dyn_cast<PtGuardedByAttr>(ArgAttrs[i]))
1983 if (const CXXConstructorDecl *CD = dyn_cast<const CXXConstructorDecl>(D)) {
2069 if (CXXMemberCallExpr *CE = dyn_cast<CXXMemberCallExpr>(Exp)) {
2070 MemberExpr *ME = dyn_cast<MemberExpr>(CE->getCallee());
2088 } else if (CXXOperatorCallExpr *OE = dyn_cast<CXXOperatorCallExpr>(Exp)) {
2304 = dyn_cast<ExclusiveLocksRequiredAttr>(Attr)) {
2307 = dyn_cast<SharedLocksRequiredAttr>(Attr)) {