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.
The expressions logs was crashing in ExtensionDecl::getExtendedNominal because it was reaching an llvm_unreachable with the following message:
"Extension must have already been bound (by bindExtensions)".
Move the log call to right after the call to bindExtensions.
rdar://128095039
(cherry picked from commit 06a49a53e16fef8e6acf5c3cc9b6f10fdb835186)
The expressions logs was crashing in ExtensionDecl::getExtendedNominal because it was reaching an llvm_unreachable with the following message: "Extension must have already been bound (by bindExtensions)".
Move the log call to right after the call to bindExtensions.
rdar://128095039 (cherry picked from commit 06a49a53e16fef8e6acf5c3cc9b6f10fdb835186)