Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExpr.cpp2615 const Expr **Culprit) const { in isConstantInitializer()
2629 if (Culprit) in isConstantInitializer()
2630 *Culprit = this; in isConstantInitializer()
2650 return CE->getArg(0)->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
2660 return Exp->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
2664 return DIUE->getBase()->isConstantInitializer(Ctx, false, Culprit) && in isConstantInitializer()
2665 DIUE->getUpdater()->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer()
2672 if (!ILE->getInit(i)->isConstantInitializer(Ctx, false, Culprit)) in isConstantInitializer()
2696 if (Culprit) in isConstantInitializer()
2697 *Culprit = Elt; in isConstantInitializer()
[all …]
/external/clang/lib/Sema/
DSemaDecl.cpp9080 const Expr *Culprit; in CheckForConstantInitializer() local
9081 if (Init->isConstantInitializer(Context, false, &Culprit)) in CheckForConstantInitializer()
9083 Diag(Culprit->getExprLoc(), diag::err_init_element_not_constant) in CheckForConstantInitializer()
9084 << Culprit->getSourceRange(); in CheckForConstantInitializer()
9797 const Expr *Culprit; in AddInitializerToDecl() local
9806 !Init->isConstantInitializer(Context, false, &Culprit)) in AddInitializerToDecl()
9807 Diag(Culprit->getExprLoc(), in AddInitializerToDecl()
9809 << Culprit->getSourceRange(); in AddInitializerToDecl()
10344 const Expr *Culprit; in CheckCompleteVariableDeclaration() local
10354 Context, var->getType()->isReferenceType(), &Culprit)) { in CheckCompleteVariableDeclaration()
[all …]
/external/clang/include/clang/AST/
DExpr.h529 const Expr **Culprit = nullptr) const;