mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-25 19:41:19 +00:00
Classify classes with no struct fields as trivially destructible (#7846)
This commit is contained in:
1 parent
e530421ba1
commit
b227419d8d
227 files changed
+9144
-12453
No files matched your search
+1
-4
@@ -773,10 +773,7 @@ fn F() {
|
||||
// CHECK:STDOUT: return
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @Destroy.WithSelf.SubobjectDestroy.loc11_37.2(%self.param: ref %A) {
|
||||
// CHECK:STDOUT: !entry:
|
||||
// CHECK:STDOUT: return
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT: fn @Destroy.WithSelf.SubobjectDestroy.loc11_37.2(%self.param: ref %A) = "no_op";
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: fn @Destroy.WithSelf.Op.loc11_37.2(%self.param: ref %A) = "no_op";
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in new issue
Block a user