Lines Matching refs:HasVar

926   bool HasVar = Var != nullptr;  in IfStmt()  local
929 IfStmtBits.HasVar = HasVar; in IfStmt()
938 if (HasVar) in IfStmt()
948 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
951 IfStmtBits.HasVar = HasVar; in IfStmt()
960 bool HasVar = Var != nullptr; in Create() local
964 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
970 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
974 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
976 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1056 bool HasVar = Var != nullptr; in SwitchStmt() local
1058 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1065 if (HasVar) in SwitchStmt()
1071 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1074 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1082 bool HasVar = Var != nullptr; in Create() local
1084 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1090 bool HasVar) { in CreateEmpty() argument
1092 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1094 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()
1122 bool HasVar = Var != nullptr; in WhileStmt() local
1123 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1127 if (HasVar) in WhileStmt()
1135 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() argument
1137 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1144 bool HasVar = Var != nullptr; in Create() local
1146 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1151 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty() argument
1153 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in CreateEmpty()
1155 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()