Lines Matching refs:HasInit
915 bool HasInit = Init != nullptr; in IfStmt() local
918 IfStmtBits.HasInit = HasInit; in IfStmt()
928 if (HasInit) in IfStmt()
936 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
940 IfStmtBits.HasInit = HasInit; in IfStmt()
949 bool HasInit = Init != nullptr; in Create() local
952 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
959 bool HasInit) { in CreateEmpty() argument
962 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
964 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1043 bool HasInit = Init != nullptr; in SwitchStmt() local
1045 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1051 if (HasInit) in SwitchStmt()
1059 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1061 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1069 bool HasInit = Init != nullptr; in Create() local
1072 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1077 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() argument
1080 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1082 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()