[msan] Add link to the lifetime definition
authorVitaly Buka <vitalybuka@google.com>
Tue, 29 Mar 2022 21:09:35 +0000 (14:09 -0700)
committerVitaly Buka <vitalybuka@google.com>
Tue, 29 Mar 2022 21:42:36 +0000 (14:42 -0700)
Differential Revision: https://reviews.llvm.org/D122685

clang/docs/MemorySanitizer.rst

index c6fc940..5f387ca 100644 (file)
@@ -165,6 +165,7 @@ Use-after-destruction detection
 You can enable experimental use-after-destruction detection in MemorySanitizer.
 After invocation of the destructor, the object will be considered no longer
 readable, and using underlying memory will lead to error reports in runtime.
+Refer to the standard for `lifetime <https://eel.is/c++draft/basic.life#1>`_ definition.
 
 This feature is still experimental, in order to enable it at runtime you need
 to: