Lines Matching refs:HasInit
927 bool HasInit = Init != nullptr; in IfStmt() local
930 IfStmtBits.HasInit = HasInit; in IfStmt()
940 if (HasInit) in IfStmt()
948 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
952 IfStmtBits.HasInit = HasInit; in IfStmt()
961 bool HasInit = Init != nullptr; in Create() local
964 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
971 bool HasInit) { in CreateEmpty() argument
974 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
976 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1055 bool HasInit = Init != nullptr; in SwitchStmt() local
1057 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1063 if (HasInit) in SwitchStmt()
1071 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1073 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1081 bool HasInit = Init != nullptr; in Create() local
1084 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1089 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
1092 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1094 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()