Searched refs:Culprit (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/AST/ |
D | Expr.cpp | 2768 const Expr **Culprit) const { in isConstantInitializer() 2782 if (Culprit) in isConstantInitializer() 2783 *Culprit = this; in isConstantInitializer() 2803 return CE->getArg(0)->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer() 2813 return Exp->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer() 2817 return DIUE->getBase()->isConstantInitializer(Ctx, false, Culprit) && in isConstantInitializer() 2818 DIUE->getUpdater()->isConstantInitializer(Ctx, false, Culprit); in isConstantInitializer() 2825 if (!ILE->getInit(i)->isConstantInitializer(Ctx, false, Culprit)) in isConstantInitializer() 2849 if (Culprit) in isConstantInitializer() 2850 *Culprit = Elt; in isConstantInitializer() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 8746 const Expr *Culprit; in CheckForConstantInitializer() local 8747 if (Init->isConstantInitializer(Context, false, &Culprit)) in CheckForConstantInitializer() 8749 Diag(Culprit->getExprLoc(), diag::err_init_element_not_constant) in CheckForConstantInitializer() 8750 << Culprit->getSourceRange(); in CheckForConstantInitializer() 9460 const Expr *Culprit; in AddInitializerToDecl() local 9469 !Init->isConstantInitializer(Context, false, &Culprit)) in AddInitializerToDecl() 9470 Diag(Culprit->getExprLoc(), in AddInitializerToDecl() 9472 << Culprit->getSourceRange(); in AddInitializerToDecl() 9982 const Expr *Culprit; in CheckCompleteVariableDeclaration() local 9992 Context, var->getType()->isReferenceType(), &Culprit)) { in CheckCompleteVariableDeclaration() [all …]
|
/external/clang/include/clang/AST/ |
D | Expr.h | 528 const Expr **Culprit = nullptr) const;
|