Lines Matching refs:HasInit
928 bool HasInit = Init != nullptr; in IfStmt() local
931 IfStmtBits.HasInit = HasInit; in IfStmt()
941 if (HasInit) in IfStmt()
949 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
953 IfStmtBits.HasInit = HasInit; in IfStmt()
962 bool HasInit = Init != nullptr; in Create() local
965 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
972 bool HasInit) { in CreateEmpty() argument
975 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
977 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1056 bool HasInit = Init != nullptr; in SwitchStmt() local
1058 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1064 if (HasInit) in SwitchStmt()
1072 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1074 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1082 bool HasInit = Init != nullptr; in Create() local
1085 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1090 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
1093 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1095 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()