Permalink
Switch branches/tags
4.1-dont-hardcode-numbers-in-objc-block-sil 5.0-dont-hardcode-numbers-in-objc-block-sil Character-test-patch Compare-types-with-equal-equal SR-2545 TensorFlowLite UnicodeEncoding anotherdayanothercommit asyncawait bananaphone builtin-int128 cherr42 codable_test_comment_fix core-team-resolution-2017-05-10 dabrahams-append-contentsOf-replaceRange dcci-build-script-backend demangledmepatatino distributed-test dwa-where-clause-cleanup empty-collection-debugPrecondition external-swift-stdlib _fastCStringContents fix-macos-build-runtime fixmeSC generic-typealias-1-lldb gsb-superclass gyb-nested-expand hoist-to-stringprotocol hoist-to-stringprotocol.1 inhibit-implicit-conversions inline-ASCII-grapheme-fastpaths is-swift-bit-5 latest-emacs-fix-fix marcrasi-const-evaluator-part-1 marcrasi-const-evaluator-part-2 marcrasi-const-evaluator-part-3 marcrasi-last-irgen-attrs marcrasi-static-assert master-llvm-swift5-transition master-next master move-debugging-executables-into-its-own-section no-6-figure-benchmarks owned_fix patatinomio pr-66bbf1369684fc75517cfe6a12718d3cdf6a09d6 pr-94ee6e6c6e2d268f47f17dead77e4feb169c24e6 preservesugar rdar-43033749-fix-batch-mode-no-diags-swift-5.0-branch readme-add-tf-gpu remotemirrorsfixmacho remove-narrow-perf-hack revert-12818-cover-model revert-12843-force-on-named-lazy-member-loading revert-13168-large_type_lldb_workaround revert-13438-re-cover-model revert-13597-master revert-14840-concat_thin revert-14846-rdar-37790062-alt revert-15421-disable_autolinkextract revert-15602-deserialize-clang-importer-witness-tables-4.2 revert-16072-disable_failing_test revert-16149-rdar39629937-master revert-16188-assert-metadata-mangled-name-roundtrip revert-17271-DIOptWritePR revert-17370-raj-cp-allargs revert-17668-master revert-18066-sr8022-workaround revert-18156-generalized-accessors revert-18226-42480588 revert-18315-fix-argument-convention revert-18500-swift-syntax-dependency revert-18624-unbreak_unified_linux_builds revert-19006-error-bridging-integer-type revert-19050-revert-19006-error-bridging-integer-type revert-19097-fluctuation-of-the-pupil revert-19130-run-remote-run revert-19138-revert-19130-run-remote-run revert-19202-rework-type-checking-designated-protocol revert-19253-serialize-generic-typealias revert-19300-explicit-implicit-conversion revert-19447-fix-req-diagnstics-not-to-print-special-names revert-19500-updateValue-but-not-the-key revert-19689-keep-sourcekitd-response-alive-while-variant-lives revert-20129-make-nsobject-hashvalue-final revert-20187-another-42247881 revert-20191-revert-20190-rdar45708367 revert-20444-rdar-45659733-5.0 revert-20561-multi-payload-xi revert-20846-swift-5.0-default-to-gold-linker revert-20956-irgen-invariant-load revert-21199-14 rst-to-markdown runtime-fix-swift-error-box-comparison rxwei-patch-1 sequence=collection shahmishal-patch-1 shahmishal/swift-4.2-branch-update shahmishal/test-swift-4.2-branch silgen-tests-should-build-modules silgen-transform-null-context-3.0 stable static-rangereplaceable-plus stdlib-BidirectionalCollection.removeLast stdlib-default-RangeReplaceableCollection.SubSequence-3.0 stdlib-indexing stdlib-manual stdlib-swift4-build substring-views substring swift-2.2-branch swift-2.2-with-migration-attributes swift-2.3-branch swift-3.0-branch swift-3.0-preview-1-branch swift-3.0-preview-2-branch swift-3.0-preview-3-branch swift-3.0-preview-4-branch swift-3.0-preview-5-branch swift-3.0-preview-5-speculative swift-3.0.1-preview-2-branch swift-3.1-branch swift-4.0-branch-04-18-2017 swift-4.0-branch-06-02-2017 swift-4.0-branch-06-23-2017 swift-4.0-branch-07-11-2017 swift-4.0-branch-10-10-2017 swift-4.0-branch swift-4.1-branch swift-4.2-branch-03-26-2018 swift-4.2-branch-04-20-2018 swift-4.2-branch-04-30-2018 swift-4.2-branch-06-11-2018 swift-4.2-branch swift-4.2-xcode-10-beta-5 swift-5.0-branch-10-15-2018 swift-5.0-branch-11-16-2018 swift-5.0-branch-12-12-2018 swift-5.0-branch swift-master-xcode-10-beta-5 swiftstringview-specialization tensorflow-merge tensorflow the-overlay-stands-alone the-runtime-stands-alone-5 typelist-existential unicode-rethink unioc update-checkout-swift-5
Nothing to show
Commits on Mar 26, 2018
  1. Merge pull request #15306 from dduan/self-rebinding

    dduan committed Mar 26, 2018
    [Parse] Enable self rebinding (to self)
  2. [Parse] Allow `self` rebinding

    dduan committed Mar 16, 2018
    Instead of parisng identifiers and fallthrough to self, treat `kw_self` the same
    as identifiers. This enables binding to self.
Commits on Apr 8, 2017
  1. Merge pull request #8406 from dduan/bridgenonverbatim_unittest

    dduan committed Apr 8, 2017
    Test: use StdlibUnittest in BridgeNonVerbatim
Commits on Mar 29, 2017
  1. Test: use StdlibUnittest in BridgeNonVerbatim

    dduan committed Mar 29, 2017
    Convert tests in BridgeNonVerbatim.swift to use StdlibUnittest.
    
    Also add a function that compares references in StdlibUnittest.
Commits on Feb 21, 2017
  1. Fix typos in the Ownership Manifesto

    dduan committed Feb 21, 2017
Commits on Nov 4, 2016
  1. Merge pull request #5548 from dduan/indent_switch_case_block

    dduan committed Nov 4, 2016
    [swift-format] add option to indent switch block
  2. [swift-format] add option to indent switch block

    dduan committed Oct 31, 2016
    add a boolean option to indent switch's block:
    
    ```
    // with -indent-switch-case
    switch xyz {
      case .x:
        doSomething()
    }
    ```
    
    ```
    // without -indent-switch-case
    switch xyz {
    case .x:
      doSomething()
    }
    ```
Commits on Oct 30, 2016
  1. Merge pull request #5093 from danielmartin/swift-format-SR-2619

    dduan committed Oct 30, 2016
    [swift-format] Remove dependency on clang::tooling::Replacement
Commits on Jul 31, 2016
  1. [Sema] ban multi-arguments to tuple coercion

    dduan committed Jul 31, 2016
    Implements part of SE-0110. Single argument in closures will not be accepted if
    there exists explicit type with a number of arguments that's not 1.
    
    ```swift
    let f: (Int, Int) -> Void = { x in } // this is now an error
    ```
    
    Note there's a second part of SE-0110 which could be considered additive,
    which says one must add an extra pair of parens to specify a single arugment
    type that is a tuple:
    
    ```swift
    let g ((Int, Int)) -> Void = { y in } // y should have type (Int, Int)
    ```
    
    This patch does not implement that part.
Commits on Jun 1, 2016
  1. [Sema] Limit inout capture to @NoEscape contexts

    dduan committed Apr 3, 2016
    The following diagnostics have been added:
    
    1. implicit capture of inout arguments by closure literals that may escape (
       not mark by @NoEscape) is now invalid. This also includes implicit capture
       of `self`.
    2. nested functions with inout captures cannot be used as arguments not marked
       @NoEscape.
    3. nested function with inout captures cannot be a return value.
    
    This change eliminates the need for the shadowing mechanism created for inouts.
Commits on May 17, 2016
  1. Merge pull request #2557 from dduan/add_enum_crasher

    dduan committed May 17, 2016
    [crasher] add a crasher
  2. [crasher] add a crasher

    dduan committed May 17, 2016
Commits on Apr 9, 2016
  1. Merge pull request #2087 from dduan/eliminate_let_param_silgen

    dduan committed Apr 9, 2016
    [SILGen] eliminate SILGen for var parameters
Commits on Apr 8, 2016
  1. [SILGen] eliminate SILGen for var parameters

    dduan committed Apr 7, 2016
Commits on Mar 26, 2016
  1. [stdlib] add @NoEscape to withUnsafeMutablePointerToValue

    dduan committed Mar 24, 2016
    This is needed when SE-0035 is implemented
Commits on Mar 15, 2016
  1. [Sema] add a crasher

    dduan committed Mar 15, 2016
Commits on Mar 12, 2016
Commits on Mar 11, 2016
  1. [Parser] Replace '=' with ':' for attribute argument.

    dduan committed Mar 4, 2016
    Implements [SE-0040](https://github.com/apple/swift-evolution/blob/master/proposals/0040-attributecolons.md).
    
    When specifying arguments for attributes, both '=' and ':' are now accepted.
    But '=' will generate a deprecation warning.
Commits on Mar 9, 2016
  1. [Parser] refactor nested 'init' diagnostics. NFC

    dduan committed Mar 9, 2016
    Add better comment. Replace a dyn_cast with cast per Jordan's observation.
Commits on Mar 3, 2016
  1. Merge pull request #1520 from dduan/SR-852

    dduan committed Mar 3, 2016
    [Parser][Qol] improve diagnostic with missing "self." in init
  2. [Parser][Qol] improve diagnostic with missing "self." in init

    dduan committed Mar 3, 2016
    This improvement was reported in
    [SR-852](https://bugs.swift.org/browse/SR-852).
    
    before:
    
    ```
    $ cat t.swift
    class A {
        init(x: Int) {}
    
        convenience init() { init(x: 1) }
    }
    
    $ swiftc -c t.swift
    t.swift:6:13: error: initializers may only be declared within a type
        init(x: 1)
            ^
    t.swift:6:17: error: expected parameter type following ':'
        init(x: 1)
                ^
    t.swift:6:17: error: expected ',' separator
        init(x: 1)
                ^
               ,
    t.swift:6:17: error: expected parameter type following ':'
        init(x: 1)
                ^
    t.swift:6:17: error: expected ',' separator
        init(x: 1)
                ^
                                                                                                                                                           ,
    ```
    
    after:
    
    ```
    t.swift:6:9: error: missing 'self.' at initializer invocation
        init(x: 1)
        ^
        self.
    ```
Commits on Mar 2, 2016
  1. Merge pull request #1505 from dduan/line-directive

    dduan committed Mar 2, 2016
    [Utils] replace #line with #setline in utils/line-directive
  2. Merge pull request #1501 from dduan/SE-0034-pr

    dduan committed Mar 2, 2016
    [Parser][SE-0034] Replace line directive #line with #setline
  3. [parser] update tests to use #setline

    dduan committed Mar 1, 2016
Commits on Feb 28, 2016
  1. [typechecker] add a crasher

    dduan committed Feb 28, 2016
Commits on Feb 26, 2016
  1. [Parser] adjust inout declaration for type decoration

    dduan committed Feb 22, 2016
    This commit implements [SE-0031](//github.com/apple/swift-evolution/blob/master/proposals/0031-adjusting-inout-declarations.md).
    When `inout` appears before parameter name, the parser issues a warning and
    suggests the correct alternate location for it.
    
    `inout` prefixing the paramter type is now valid.