swift
Move the single-expr return transform from Parse to Sema
#71123
Merged

Commits
  • [CodeComplete] Avoid distinguishing between closure types
    hamishknight committed 1 year ago
  • Move single-expr return transform from Parse to Sema
    hamishknight committed 1 year ago
  • [test] Update ASTGen tests for single expression returns
    hamishknight committed 1 year ago
  • [IDE] Remove `undoSingleExpressionReturn`
    hamishknight committed 1 year ago
  • [AST] Remove `AbstractFunctionDecl::setSingleExpressionBody`
    hamishknight committed 1 year ago
  • [ASTDumper] Remove special case for single expr functions
    hamishknight committed 1 year ago
  • [AST] Remove `AbstractFunctionDecl::getSingleExpressionBody`
    hamishknight committed 1 year ago
  • [AST] Remove the "single expression body" bit
    hamishknight committed 1 year ago
  • [AST] Introduce UnreachableExpr
    hamishknight committed 1 year ago
  • Partially revert "[CodeComplete] Avoid distinguishing between closure types"
    hamishknight committed 1 year ago
Loading