• Home
  • Raw
  • Download

Lines Matching refs:dyn_cast

56       if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))  in VisitDeclRefExpr()
106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts()); in LookThroughTransitiveAssignmentsAndCommaOperators()
231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef()
240 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS); in isIncrement()
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement()
251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement()
269 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) { in observeStmt()
272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) in observeStmt()
273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in observeStmt()
290 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS)) in observeStmt()
291 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) in observeStmt()
302 else if (const UnaryOperator* U = dyn_cast<UnaryOperator>(S)) { in observeStmt()
312 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt()
315 else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S)) in observeStmt()
319 const auto *V = dyn_cast<VarDecl>(DI); in observeStmt()
332 dyn_cast<ExprWithCleanups>(E)) in observeStmt()
361 dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in observeStmt()
362 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in observeStmt()
406 if (auto *LE = dyn_cast<LambdaExpr>(S)) { in operator ()()
411 const UnaryOperator *U = dyn_cast<UnaryOperator>(S); in operator ()()
418 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in operator ()()
419 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in operator ()()
462 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) in checkASTCodeBody()