Home
last modified time | relevance | path

Searched refs:Culprit (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp3299 const Expr **Culprit) const { in isConstantInitializer()
3314 return EWC->getSubExpr()->isConstantInitializer(Ctx, true, Culprit); in isConstantInitializer()
3316 return MTE->getSubExpr()->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
3320 if (Culprit) in isConstantInitializer()
3321 *Culprit = this; in isConstantInitializer()
3329 Ctx, IsForRef, Culprit); in isConstantInitializer()
3344 return CE->getArg(0)->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
3353 return Exp->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
3360 return Exp->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
3364 return DIUE->getBase()->isConstantInitializer(Ctx, false, Culprit) && in isConstantInitializer()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp12442 const Expr *Culprit; in CheckForConstantInitializer() local
12443 if (Init->isConstantInitializer(Context, false, &Culprit)) in CheckForConstantInitializer()
12445 Diag(Culprit->getExprLoc(), DiagID) << Culprit->getSourceRange(); in CheckForConstantInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h597 const Expr **Culprit = nullptr) const;