Lines Matching defs:IfStmt
924 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind,
951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit)
958 IfStmt *IfStmt::Create(const ASTContext &Ctx, SourceLocation IL,
968 alignof(IfStmt));
970 IfStmt(Ctx, IL, Kind, Init, Var, Cond, LPL, RPL, Then, EL, Else);
973 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
978 alignof(IfStmt));
979 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit);
982 VarDecl *IfStmt::getConditionVariable() {
989 void IfStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) {
1003 bool IfStmt::isObjCAvailabilityCheck() const {
1007 std::optional<Stmt *> IfStmt::getNondiscardedCase(const ASTContext &Ctx) {
1014 IfStmt::getNondiscardedCase(const ASTContext &Ctx) const {
1016 const_cast<IfStmt *>(this)->getNondiscardedCase(Ctx))