Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DSemaInternal.h45 const VarDecl *DefVD = nullptr; in IsVariableAConstantExpression() local
48 Var->getAnyInitializer(DefVD) && DefVD->checkInitIsICE(); in IsVariableAConstantExpression()
/external/llvm-project/clang/lib/AST/
DDecl.cpp2346 const VarDecl *DefVD = nullptr; in isUsableInConstantExpressions() local
2347 const Expr *Init = getAnyInitializer(DefVD); in isUsableInConstantExpressions()
2352 if (!DefVD->mightBeUsableInConstantExpressions(Context)) in isUsableInConstantExpressions()
2355 if (Context.getLangOpts().CPlusPlus && !DefVD->hasConstantInitialization()) in isUsableInConstantExpressions()
2362 !Context.getLangOpts().CPlusPlus11 && !DefVD->hasICEInitializer(Context)) in isUsableInConstantExpressions()
/external/clang/lib/Sema/
DSemaExprCXX.cpp6561 const VarDecl *DefVD = nullptr; in VariableCanNeverBeAConstantExpression() local
6564 if (!Var->getAnyInitializer(DefVD)) return true; in VariableCanNeverBeAConstantExpression()
6565 assert(DefVD); in VariableCanNeverBeAConstantExpression()
6566 if (DefVD->isWeak()) return false; in VariableCanNeverBeAConstantExpression()
6567 EvaluatedStmt *Eval = DefVD->ensureEvaluatedStmt(); in VariableCanNeverBeAConstantExpression()
DSemaExpr.cpp13785 const VarDecl *DefVD = nullptr; in IsVariableNonDependentAndAConstantExpression() local
13786 Var->getAnyInitializer(DefVD); in IsVariableNonDependentAndAConstantExpression()
13787 if (!DefVD) in IsVariableNonDependentAndAConstantExpression()
13789 EvaluatedStmt *Eval = DefVD->ensureEvaluatedStmt(); in IsVariableNonDependentAndAConstantExpression()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp7805 const VarDecl *DefVD = nullptr; in VariableCanNeverBeAConstantExpression() local
7808 if (!Var->getAnyInitializer(DefVD)) return true; in VariableCanNeverBeAConstantExpression()
7809 assert(DefVD); in VariableCanNeverBeAConstantExpression()
7810 if (DefVD->isWeak()) return false; in VariableCanNeverBeAConstantExpression()
7811 EvaluatedStmt *Eval = DefVD->ensureEvaluatedStmt(); in VariableCanNeverBeAConstantExpression()