We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a17573a + 7b1b0a0 commit 73315baCopy full SHA for 73315ba
docs/SIL.rst
@@ -2525,9 +2525,10 @@ except that ``destroy_addr`` may be used even if ``%0`` is of an
2525
address-only type. This does not deallocate memory; it only destroys the
2526
pointed-to value, leaving the memory uninitialized.
2527
2528
-If ``T`` is a trivial type, then ``destroy_addr`` is a no-op. However, even a
2529
-memory location ``%a`` with a trivial type must not be accessed after a
2530
-``destroy_addr %a``.
+If ``T`` is a trivial type, then ``destroy_addr`` can be safely
+eliminated. However, a memory location ``%a`` must not be accessed
+after ``destroy_addr %a`` (which has not yet been eliminated)
2531
+regardless of its type.
2532
2533
index_addr
2534
``````````
0 commit comments