Lines Matching refs:HasInit
930 bool HasInit = Init != nullptr; in IfStmt() local
933 IfStmtBits.HasInit = HasInit; in IfStmt()
943 if (HasInit) in IfStmt()
951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
955 IfStmtBits.HasInit = HasInit; in IfStmt()
964 bool HasInit = Init != nullptr; in Create() local
967 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
974 bool HasInit) { in CreateEmpty() argument
977 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
979 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1058 bool HasInit = Init != nullptr; in SwitchStmt() local
1060 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1066 if (HasInit) in SwitchStmt()
1074 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1076 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1084 bool HasInit = Init != nullptr; in Create() local
1087 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1092 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
1095 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1097 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()