apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.09k stars 320 forks source link

[Cherry-pick into next] Remove side effect from SetPlaygroundTransformEnabled() #8909

Closed adrian-prantl closed 2 weeks ago

adrian-prantl commented 2 weeks ago
commit aa3bf5d484f29653885f9e704626be0aa1f521ad
Author: Adrian Prantl <aprantl@apple.com>
Date:   Mon Jun 17 09:45:57 2024 -0700

    Remove side effect from SetPlaygroundTransformEnabled()

    The function was also setting the language to Swift, which can (after
    the API change have the unwanted side-effect of also resetting the
    language version to the default.