Author: Vitaly Buka Date: 2022-03-29T14:42:36-07:00 New Revision: 122638d97d913edcdfa8ccf921eb5929498166c7
URL: https://github.com/llvm/llvm-project/commit/122638d97d913edcdfa8ccf921eb5929498166c7 DIFF: https://github.com/llvm/llvm-project/commit/122638d97d913edcdfa8ccf921eb5929498166c7.diff LOG: [msan] Add link to the lifetime definition Differential Revision: https://reviews.llvm.org/D122685 Added: Modified: clang/docs/MemorySanitizer.rst Removed: ################################################################################ diff --git a/clang/docs/MemorySanitizer.rst b/clang/docs/MemorySanitizer.rst index c6fc9407ea15f..5f387cad93dc4 100644 --- a/clang/docs/MemorySanitizer.rst +++ b/clang/docs/MemorySanitizer.rst @@ -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: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits