Lines Matching refs:HasInit
929 bool HasInit = Init != nullptr; in IfStmt() local
932 IfStmtBits.HasInit = HasInit; in IfStmt()
942 if (HasInit) in IfStmt()
950 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
954 IfStmtBits.HasInit = HasInit; in IfStmt()
963 bool HasInit = Init != nullptr; in Create() local
966 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
973 bool HasInit) { in CreateEmpty() argument
976 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
978 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1057 bool HasInit = Init != nullptr; in SwitchStmt() local
1059 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1065 if (HasInit) in SwitchStmt()
1073 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1075 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1083 bool HasInit = Init != nullptr; in Create() local
1086 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1091 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
1094 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1096 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()