mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I've renamed the method to `TypeDecl::isNoncopyable`, because the query doesn't make sense for many other kinds of `ValueDecl`'s beyond the `TypeDecl`'s. In fact, it looks like no one was relying on that anyway. Thus, we now have a distinction where in Sema, you ask whether a `Type` or `TypeDecl` is "Noncopyable". But within SIL, we still preserve the notion of "move-only" since there is additionally the move-only type wrapper for types that otherwise support copying.
150 KiB
150 KiB