Searched refs:DefVD (Results 1 – 2 of 2) sorted by relevance
2497 const VarDecl *DefVD = nullptr; in isUsableInConstantExpressions() local2498 const Expr *Init = getAnyInitializer(DefVD); in isUsableInConstantExpressions()2503 if (!DefVD->mightBeUsableInConstantExpressions(Context)) in isUsableInConstantExpressions()2506 if (Context.getLangOpts().CPlusPlus && !DefVD->hasConstantInitialization()) in isUsableInConstantExpressions()2513 !Context.getLangOpts().CPlusPlus11 && !DefVD->hasICEInitializer(Context)) in isUsableInConstantExpressions()
8530 const VarDecl *DefVD = nullptr; in VariableCanNeverBeAConstantExpression() local8533 const Expr *Init = Var->getAnyInitializer(DefVD); in VariableCanNeverBeAConstantExpression()8536 assert(DefVD); in VariableCanNeverBeAConstantExpression()8537 if (DefVD->isWeak()) in VariableCanNeverBeAConstantExpression()