Home | History | Annotate | Download | only in Checkers

Lines Matching full:vardecl

37   llvm::DenseSet<const VarDecl *> &S;
56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
61 EHCodeVisitor(llvm::DenseSet<const VarDecl *> &S) :
130 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
133 std::unique_ptr<llvm::DenseSet<const VarDecl *>> InEH;
141 llvm::SmallPtrSet<const VarDecl *, 20> &escaped)
147 bool isLive(const LiveVariables::LivenessValues &Live, const VarDecl *D) {
153 InEH.reset(new llvm::DenseSet<const VarDecl *>());
164 void Report(const VarDecl *V, DeadStoreKind dsk,
208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val,
231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
235 bool isIncrement(VarDecl *VD, const BinaryOperator* B) {
273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
289 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl()))
317 const auto *V = dyn_cast<VarDecl>(DI);
360 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
398 llvm::SmallPtrSet<const VarDecl*, 20> Escaped;
401 // Check for '&'. Any VarDecl whose address has been taken we treat as
417 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
424 llvm::DenseMap<const VarDecl *, FieldDecl *> CaptureFields;
432 VarDecl *VD = C.getCapturedVar();