Searched refs:isConstantInitializer (Results 1 – 7 of 7) sorted by relevance
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 48 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(), in VisitVarDecl()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 2614 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/ |
D | CGDecl.cpp | 984 D.getInit()->isConstantInitializer(getContext(), false)))) { in EmitAutoVarAlloca()
|
D | CodeGenModule.cpp | 4218 !VD->getAnyInitializer()->isConstantInitializer(getContext(), in EmitOMPThreadPrivateDecl()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 9081 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()
|
D | SemaTemplateInstantiateDecl.cpp | 3912 !InitExpr->isConstantInitializer(getASTContext(), false))) { in InstantiateVariableInitializer()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 528 bool isConstantInitializer(ASTContext &Ctx, bool ForRef,
|