Lines Matching defs:IfStmt
932 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind,
959 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit)
966 IfStmt *IfStmt::Create(const ASTContext &Ctx, SourceLocation IL,
976 alignof(IfStmt));
978 IfStmt(Ctx, IL, Kind, Init, Var, Cond, LPL, RPL, Then, EL, Else);
981 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
986 alignof(IfStmt));
987 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit);
990 VarDecl *IfStmt::getConditionVariable() {
997 void IfStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) {
1011 bool IfStmt::isObjCAvailabilityCheck() const {
1015 std::optional<Stmt *> IfStmt::getNondiscardedCase(const ASTContext &Ctx) {
1022 IfStmt::getNondiscardedCase(const ASTContext &Ctx) const {
1024 const_cast<IfStmt *>(this)->getNondiscardedCase(Ctx))