Lines Matching refs:HasVar
914 bool HasVar = Var != nullptr; in IfStmt() local
917 IfStmtBits.HasVar = HasVar; in IfStmt()
926 if (HasVar) in IfStmt()
936 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
939 IfStmtBits.HasVar = HasVar; in IfStmt()
948 bool HasVar = Var != nullptr; in Create() local
952 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
958 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
962 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
964 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
1044 bool HasVar = Var != nullptr; in SwitchStmt() local
1046 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1053 if (HasVar) in SwitchStmt()
1059 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
1062 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1070 bool HasVar = Var != nullptr; in Create() local
1072 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
1078 bool HasVar) { in CreateEmpty() argument
1080 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
1082 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()
1110 bool HasVar = Var != nullptr; in WhileStmt() local
1111 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1115 if (HasVar) in WhileStmt()
1123 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() argument
1125 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1132 bool HasVar = Var != nullptr; in Create() local
1134 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1139 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty() argument
1141 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in CreateEmpty()
1143 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()