Lines Matching defs:HasVar
929 bool HasVar = Var != nullptr;
932 IfStmtBits.HasVar = HasVar;
941 if (HasVar)
951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit)
954 IfStmtBits.HasVar = HasVar;
963 bool HasVar = Var != nullptr;
967 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse),
973 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
977 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse),
979 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit);
1059 bool HasVar = Var != nullptr;
1061 SwitchStmtBits.HasVar = HasVar;
1068 if (HasVar)
1074 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar)
1077 SwitchStmtBits.HasVar = HasVar;
1085 bool HasVar = Var != nullptr;
1087 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1093 bool HasVar) {
1095 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar),
1097 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar);
1125 bool HasVar = Var != nullptr;
1126 WhileStmtBits.HasVar = HasVar;
1130 if (HasVar)
1138 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar)
1140 WhileStmtBits.HasVar = HasVar;
1147 bool HasVar = Var != nullptr;
1149 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1154 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) {
1156 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar),
1158 return new (Mem) WhileStmt(EmptyShell(), HasVar);