Lines Matching refs:HasVar
927 bool HasVar = Var != nullptr; in IfStmt() local
930 IfStmtBits.HasVar = HasVar; in IfStmt()
939 if (HasVar) in IfStmt()
949 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
952 IfStmtBits.HasVar = HasVar; in IfStmt()
961 bool HasVar = Var != nullptr; in Create() local
965 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
971 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
975 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
977 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1057 bool HasVar = Var != nullptr; in SwitchStmt() local
1059 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1066 if (HasVar) in SwitchStmt()
1072 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1075 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1083 bool HasVar = Var != nullptr; in Create() local
1085 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1091 bool HasVar) { in CreateEmpty() argument
1093 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1095 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()
1123 bool HasVar = Var != nullptr; in WhileStmt() local
1124 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1128 if (HasVar) in WhileStmt()
1136 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() argument
1138 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1145 bool HasVar = Var != nullptr; in Create() local
1147 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1152 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty() argument
1154 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in CreateEmpty()
1156 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()