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