Lines Matching defs:HasVar
937 bool HasVar = Var != nullptr;
940 IfStmtBits.HasVar = HasVar;
949 if (HasVar)
959 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit)
962 IfStmtBits.HasVar = HasVar;
971 bool HasVar = Var != nullptr;
975 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse),
981 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
985 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse),
987 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit);
1067 bool HasVar = Var != nullptr;
1069 SwitchStmtBits.HasVar = HasVar;
1076 if (HasVar)
1082 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar)
1085 SwitchStmtBits.HasVar = HasVar;
1093 bool HasVar = Var != nullptr;
1095 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1101 bool HasVar) {
1103 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1105 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar);
1133 bool HasVar = Var != nullptr;
1134 WhileStmtBits.HasVar = HasVar;
1138 if (HasVar)
1146 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar)
1148 WhileStmtBits.HasVar = HasVar;
1155 bool HasVar = Var != nullptr;
1157 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1162 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) {
1164 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1166 return new (Mem) WhileStmt(EmptyShell(), HasVar);