Lines Matching refs:HasInit
921 bool HasInit = Init != nullptr; in IfStmt() local
924 IfStmtBits.HasInit = HasInit; in IfStmt()
934 if (HasInit) in IfStmt()
942 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
946 IfStmtBits.HasInit = HasInit; in IfStmt()
955 bool HasInit = Init != nullptr; in Create() local
958 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
965 bool HasInit) { in CreateEmpty() argument
968 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
970 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1049 bool HasInit = Init != nullptr; in SwitchStmt() local
1051 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1057 if (HasInit) in SwitchStmt()
1065 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1067 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1075 bool HasInit = Init != nullptr; in Create() local
1078 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1083 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
1086 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1088 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()