reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/ExprConstant.cpp
 3561     if (VD) {
 3562       if (const VarDecl *VDef = VD->getDefinition(Info.Ctx))
 3563         VD = VDef;
 3565     if (!VD || VD->isInvalidDecl()) {
 3565     if (!VD || VD->isInvalidDecl()) {
 3582       } else if (VD->isConstexpr()) {
 3593             Info.FFDiag(E, diag::note_constexpr_ltor_non_const_int, 1) << VD;
 3594             Info.Note(VD->getLocation(), diag::note_declared_at);
 3607           Info.CCEDiag(E, diag::note_constexpr_ltor_non_constexpr, 1) << VD;
 3608           Info.Note(VD->getLocation(), diag::note_declared_at);
 3612       } else if (BaseType.isConstQualified() && VD->hasDefinition(Info.Ctx)) {
 3613         Info.CCEDiag(E, diag::note_constexpr_ltor_non_constexpr) << VD;
 3618             VD->getType().isConstQualified() && !VD->hasDefinition(Info.Ctx)) {
 3618             VD->getType().isConstQualified() && !VD->hasDefinition(Info.Ctx)) {
 3622           Info.FFDiag(E, diag::note_constexpr_ltor_non_constexpr, 1) << VD;
 3623           Info.Note(VD->getLocation(), diag::note_declared_at);
 3631     if (!evaluateVarDeclInit(Info, E, VD, Frame, BaseVal, &LVal))