Home
last modified time | relevance | path

Searched refs:isConstantInitializer (Results 1 – 7 of 7) sorted by relevance

/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp48 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(), in VisitVarDecl()
/external/clang/lib/AST/
DExpr.cpp2614 bool Expr::isConstantInitializer(ASTContext &Ctx, bool IsForRef, in isConstantInitializer() function in Expr
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()
2702 if (!Elt->isConstantInitializer(Ctx, RefType, Culprit)) in isConstantInitializer()
2717 ->isConstantInitializer(Ctx, IsForRef, Culprit); in isConstantInitializer()
2720 ->isConstantInitializer(Ctx, IsForRef, Culprit); in isConstantInitializer()
2728 ->isConstantInitializer(Ctx, IsForRef, Culprit); in isConstantInitializer()
[all …]
/external/clang/lib/CodeGen/
DCGDecl.cpp984 D.getInit()->isConstantInitializer(getContext(), false)))) { in EmitAutoVarAlloca()
DCodeGenModule.cpp4218 !VD->getAnyInitializer()->isConstantInitializer(getContext(), in EmitOMPThreadPrivateDecl()
/external/clang/lib/Sema/
DSemaDecl.cpp9081 if (Init->isConstantInitializer(Context, false, &Culprit)) in CheckForConstantInitializer()
9806 !Init->isConstantInitializer(Context, false, &Culprit)) in AddInitializerToDecl()
10353 !var->getInit()->isConstantInitializer( in CheckCompleteVariableDeclaration()
10441 !Init->isConstantInitializer(Context, baseType->isReferenceType())) in CheckCompleteVariableDeclaration()
10555 AllowedInit = VD->getInit()->isConstantInitializer( in FinalizeDeclaration()
DSemaTemplateInstantiateDecl.cpp3912 !InitExpr->isConstantInitializer(getASTContext(), false))) { in InstantiateVariableInitializer()
/external/clang/include/clang/AST/
DExpr.h528 bool isConstantInitializer(ASTContext &Ctx, bool ForRef,