Searched refs:BaseVD (Results 1 – 1 of 1) sorted by relevance
2350 const ValueDecl *BaseVD = Base.dyn_cast<const ValueDecl*>(); in CheckLValueConstantExpression() local2363 isa_and_nonnull<LifetimeExtendedTemporaryDecl>(BaseVD)) in CheckLValueConstantExpression()2378 if (auto *FD = dyn_cast_or_null<FunctionDecl>(BaseVD); in CheckLValueConstantExpression()2392 << IsReferenceType << !Designator.Entries.empty() << !!BaseVD in CheckLValueConstantExpression()2393 << BaseVD; in CheckLValueConstantExpression()2394 auto *VarD = dyn_cast_or_null<VarDecl>(BaseVD); in CheckLValueConstantExpression()2418 if (BaseVD) { in CheckLValueConstantExpression()2419 Info.FFDiag(Loc, diag::note_constexpr_var_init_non_constant, 1) << BaseVD; in CheckLValueConstantExpression()2434 if (BaseVD) { in CheckLValueConstantExpression()2435 if (const VarDecl *Var = dyn_cast<const VarDecl>(BaseVD)) { in CheckLValueConstantExpression()[all …]