Files
swift-mirror/lib/Frontend/CompilerInvocation.cpp
Nate Chandler 0cee5b227e Fixed flag checking for lexical borrow scopes.
Previously the following pairs were prohibited incorrectly:
- -enable-lexical-borrow-scopes=true, -enable-experimental-move-only
- -enable-lexical-lifetimes=true, -enable-experimental-move-only
and the following pairs were allowed incorrectly:
- -enable-lexical-borrow-scopes=false, -enable-experimental-move-only
- -enable-lexical-lifetimes=false, -enable-experimental-move-only
Here, that's fixed.  The first two pairs are allowed and the second two
pairs prohibited.
2021-12-13 14:55:01 -08:00

92 KiB