Lines Matching refs:HasInit
813 bool HasInit = Init != nullptr; in IfStmt() local
816 IfStmtBits.HasInit = HasInit; in IfStmt()
826 if (HasInit) in IfStmt()
834 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
838 IfStmtBits.HasInit = HasInit; in IfStmt()
846 bool HasInit = Init != nullptr; in Create() local
849 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
856 bool HasInit) { in CreateEmpty() argument
859 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
861 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
924 bool HasInit = Init != nullptr; in SwitchStmt() local
926 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
932 if (HasInit) in SwitchStmt()
940 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
942 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
949 bool HasInit = Init != nullptr; in Create() local
952 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
957 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
960 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
962 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()