Skip to content

Commit 122638d

Browse files
committed
[msan] Add link to the lifetime definition
Differential Revision: https://reviews.llvm.org/D122685
1 parent 8f66f13 commit 122638d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/docs/MemorySanitizer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ Use-after-destruction detection
165165
You can enable experimental use-after-destruction detection in MemorySanitizer.
166166
After invocation of the destructor, the object will be considered no longer
167167
readable, and using underlying memory will lead to error reports in runtime.
168+
Refer to the standard for `lifetime <https://eel.is/c++draft/basic.life#1>`_ definition.
168169

169170
This feature is still experimental, in order to enable it at runtime you need
170171
to:

0 commit comments

Comments
 (0)