Doug twisted my arm and convinced me that noescape was a better match for the semantics we’ll have here. NoCapture would be confusable with "this closure doesn’t have any captures, thus should be compatible with thin function types"

The attribute itself remains __'ized.



Swift SVN r24113
This commit is contained in:
Chris Lattner
2014-12-23 17:52:10 +00:00
parent 5cffa73bbd
commit 21a7a6c89a
13 changed files with 42 additions and 42 deletions

View File

@@ -2381,7 +2381,7 @@ void Serializer::writeType(Type ty) {
fnTy->getRepresentation() == AnyFunctionType::Representation::Thin,
fnTy->isNoReturn(),
fnTy->getRepresentation() == AnyFunctionType::Representation::Block,
fnTy->isNoCapture());
fnTy->isNoEscape());
break;
}