Lines Matching refs:HasVar

812   bool HasVar = Var != nullptr;  in IfStmt()  local
815 IfStmtBits.HasVar = HasVar; in IfStmt()
824 if (HasVar) in IfStmt()
834 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
837 IfStmtBits.HasVar = HasVar; in IfStmt()
845 bool HasVar = Var != nullptr; in Create() local
849 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
855 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
859 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
861 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
925 bool HasVar = Var != nullptr; in SwitchStmt() local
927 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
934 if (HasVar) in SwitchStmt()
940 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() argument
943 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
950 bool HasVar = Var != nullptr; in Create() local
952 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in Create()
958 bool HasVar) { in CreateEmpty() argument
960 totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasInit + HasVar), in CreateEmpty()
962 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty()
989 bool HasVar = Var != nullptr; in WhileStmt() local
990 WhileStmtBits.HasVar = HasVar; in WhileStmt()
994 if (HasVar) in WhileStmt()
1000 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() argument
1002 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1007 bool HasVar = Var != nullptr; in Create() local
1009 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in Create()
1014 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty() argument
1016 Ctx.Allocate(totalSizeToAlloc<Stmt *>(NumMandatoryStmtPtr + HasVar), in CreateEmpty()
1018 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()