Lines Matching defs:VD
1235 if (const auto *VD = dyn_cast<VarDecl>(D)) { in discoverDecl() local
1519 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in groupWarningGadgetsByVar() local
1548 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in groupFixablesByVar() local
1663 static bool isNonNegativeIntegerExpr(const Expr *Expr, const VarDecl *VD, in isNonNegativeIntegerExpr()
1677 if (const auto *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in getFixits() local
1707 const auto *VD = cast<VarDecl>(DREs.front()->getDecl()); in getFixits() local
1791 static SourceLocation getVarDeclIdentifierLoc(const VarDecl *VD) { in getVarDeclIdentifierLoc()
1799 getVarDeclIdentifierText(const VarDecl *VD, const SourceManager &SM, in getVarDeclIdentifierText()
1817 static bool hasUnsupportedSpecifiers(const VarDecl *VD, in hasUnsupportedSpecifiers()
1854 getPointeeTypeText(const VarDecl *VD, const SourceManager &SM, in getPointeeTypeText()
1959 const VarDecl *VD = dyn_cast<VarDecl>(BaseDeclRefExpr->getDecl()); in getFixits() local
2022 const VarDecl *VD = cast<VarDecl>(BaseDeclRefExpr->getDecl()); in getFixits() local
2068 const auto VD = cast<VarDecl>(Node->getDecl()); in getFixits() local
2130 if (const VarDecl *VD = dyn_cast<VarDecl>(DREs.front()->getDecl())) { in getFixits() local
2172 if (const VarDecl *VD = dyn_cast<VarDecl>(DREs.front()->getDecl())) { in getFixits() local
2301 createSpanTypeForVarDecl(const VarDecl *VD, const ASTContext &Ctx) { in createSpanTypeForVarDecl()
2632 static FixItList fixVariableWithSpan(const VarDecl *VD, in fixVariableWithSpan()
2730 static FixItList fixVariableWithArray(const VarDecl *VD, in fixVariableWithArray()
2752 fixVariable(const VarDecl *VD, FixitStrategy::Kind K, in fixVariable()
2826 static bool isParameterOf(const VarDecl *VD, const Decl *D) { in isParameterOf()
2989 for (const VarDecl *VD : UnsafeVars) { in getNaiveStrategy() local