Home
last modified time | relevance | path

Searched refs:DefVD (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp2497 const VarDecl *DefVD = nullptr; in isUsableInConstantExpressions() local
2498 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()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp8530 const VarDecl *DefVD = nullptr; in VariableCanNeverBeAConstantExpression() local
8533 const Expr *Init = Var->getAnyInitializer(DefVD); in VariableCanNeverBeAConstantExpression()
8536 assert(DefVD); in VariableCanNeverBeAConstantExpression()
8537 if (DefVD->isWeak()) in VariableCanNeverBeAConstantExpression()