Lines Matching full:dyn_cast
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts());
231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
240 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS);
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
269 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) {
272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
288 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS))
289 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl()))
300 else if (const UnaryOperator* U = dyn_cast<UnaryOperator>(S)) {
310 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex))
313 else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S))
317 const auto *V = dyn_cast<VarDecl>(DI);
330 dyn_cast<ExprWithCleanups>(E))
359 dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))
360 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
404 const UnaryOperator *U = dyn_cast<UnaryOperator>(S);
411 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E))
412 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
433 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D))