Searched refs:getInitExpr (Results 1 – 17 of 17) sorted by relevance
88 if (ECD->getInitExpr()) in HandleDecl()
441 if (Expr *Init = D->getInitExpr()) { in VisitEnumConstantDecl()
1108 if (const Expr *Init = D->getInitExpr()) in VisitEnumConstantDecl()
2923 Expr *Init = Importer.Import(D->getInitExpr()); in VisitEnumConstantDecl()2924 if (D->getInitExpr() && !Init) in VisitEnumConstantDecl()
179 IndexCtx.indexBody(D->getInitExpr(), D); in VisitEnumConstantDecl()
509 Expr *getInitExpr() const { in getInitExpr() function
232 return isConfigurationValue(ED->getInitExpr(), PP); in isConfigurationValue()
1538 CaptureInits.push_back(From.getInitExpr()); in BuildLambdaExpr()1554 Expr *Init = From.getInitExpr(); in BuildLambdaExpr()
3864 CaptureInits.push_back(Cap->getInitExpr()); in buildCapturedStmtCaptureList()3878 CaptureInits.push_back(Cap->getInitExpr()); in buildCapturedStmtCaptureList()
14577 Expr *InitExpr = ECD->getInitExpr(); in ValidDuplicateEnum()14672 if (ECD->getInitExpr()) in CheckForDuplicateEnumValues()14972 if (ECD->getInitExpr() && in ActOnEnumBody()14973 !Context.hasSameType(NewTy, ECD->getInitExpr()->getType())) in ActOnEnumBody()14976 ECD->getInitExpr(), in ActOnEnumBody()
978 if (Expr *UninstValue = EC->getInitExpr()) { in InstantiateEnumDefinition()
12122 Cap.isNested(), Cap.getInitExpr()); in ActOnBlockStmtExpr()
491 Record.push_back(D->getInitExpr()? 1 : 0); in VisitEnumConstantDecl()492 if (D->getInitExpr()) in VisitEnumConstantDecl()493 Record.AddStmt(D->getInitExpr()); in VisitEnumConstantDecl()
2498 const Expr *getInitExpr() const { return (const Expr*) Init; } in getInitExpr() function2499 Expr *getInitExpr() { return (Expr*) Init; } in getInitExpr() function
1785 DEF_TRAVERSE_DECL(EnumConstantDecl, { TRY_TO(TraverseStmt(D->getInitExpr())); })
806 const Expr *InitExpr = Enumerator->getInitExpr(); in UseNSOptionsMacro()
759 if (Expr *Init = D->getInitExpr()) in VisitEnumConstantDecl()