mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Sema] refactor TypeDecl::isNoncopyable
In preparation for reporting whether the inverse marking on a TypeDecl was inferred instead of explicit.
This commit is contained in:
@@ -680,7 +680,7 @@ lookUpFunctionInVTable(ClassDecl *Class, SILDeclRef Member) {
|
||||
|
||||
SILFunction *
|
||||
SILModule::lookUpMoveOnlyDeinitFunction(const NominalTypeDecl *nomDecl) {
|
||||
assert(nomDecl->isNoncopyable());
|
||||
assert(nomDecl->canBeNoncopyable());
|
||||
|
||||
auto *tbl = lookUpMoveOnlyDeinit(nomDecl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user