Lines Matching refs:HasVar

928   bool HasVar = Var != nullptr;  in IfStmt()  local
931 IfStmtBits.HasVar = HasVar; in IfStmt()
940 if (HasVar) in IfStmt()
950 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
953 IfStmtBits.HasVar = HasVar; in IfStmt()
962 bool HasVar = Var != nullptr; in Create() local
966 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
972 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
976 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
978 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1058 bool HasVar = Var != nullptr; in SwitchStmt() local
1060 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1067 if (HasVar) in SwitchStmt()
1073 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1076 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1084 bool HasVar = Var != nullptr; in Create() local
1086 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1092 bool HasVar) { in CreateEmpty() argument
1094 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1096 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()
1124 bool HasVar = Var != nullptr; in WhileStmt() local
1125 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1129 if (HasVar) in WhileStmt()
1137 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() argument
1139 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1146 bool HasVar = Var != nullptr; in Create() local
1148 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1153 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty() argument
1155 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in CreateEmpty()
1157 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()