Skip to content
Permalink
Branch: master
Commits on Oct 9, 2019
  1. Fix keypath-as-function crasher

    brentdax committed Oct 9, 2019
    The autoclosures generated for the keypath-as-function feature were not added to the list of closures that needed captures computed. In top-level code, this caused a crash. Fixes rdar://problem/56055600.
Commits on Oct 6, 2019
  1. [tests] Add mechanism to override lit environment

    brentdax committed Oct 6, 2019
    lit runs its tests with only the environment variables set up by its configuration, which is great for repeatability, but sometimes you want to allow a few controlled leaks. With this change, you can now specify “--param copy_env=FOO:BAR:BAZ” to cause the environment variables FOO, BAR, and BAZ to be visible in lit tests during that run.
Commits on Oct 2, 2019
  1. Merge pull request #27414 from brentdax/identify-yourself

    brentdax committed Oct 2, 2019
    [NFC] Explicitly control alignment of Identifiers
  2. Merge pull request #27480 from brentdax/absence-of-results

    brentdax committed Oct 2, 2019
    Fix StringInterpolationProtocol validation crasher
  3. Fix StringInterpolationProtocol validation crasher

    brentdax committed Oct 2, 2019
    Some old circularity-breaking code caused an unexpected null type, which led to crashes in the decl checker when trying to check that an `appendInterpolation` method in a different file would satisfy the informal requirement for one in a StringInterpolationProtocol conformer. This code appears to now be unnecessary, so this commit removes it. Fixes rdar://problem/55864759.
Commits on Oct 1, 2019
  1. [NFC] Explicitly control alignment of Identifiers

    brentdax committed Sep 18, 2019
    Identifier contains a pointer to character data, and we need to ensure that this pointer has enough spare bits in it for DeclBaseName and DeclName. This currently happens to be true because the StringMap used to intern Identifier pointers happens to place a 32-bit size field in the MapTableEntry object, but it would be better to explicitly force the alignment we want and assert that it’s correct.
You can’t perform that action at this time.