llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Shynur (shynur) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/127183.diff 1 Files Affected: - (modified) clang/include/clang/Basic/AttrDocs.td (+1-1) ``````````diff diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index 0ad4c958d0983..8ab20774de034 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -8482,7 +8482,7 @@ that is a pointer to the type with the attribute. } The above example will result in a call to ``bar`` being passed the address of -`y`` when ``y`` goes out of scope, then a call to ``foo`` being passed the +``y`` when ``y`` goes out of scope, then a call to ``foo`` being passed the address of ``x`` when ``x`` goes out of scope. If two or more variables share the same scope, their ``cleanup`` callbacks are invoked in the reverse order the variables were declared in. It is not possible to check the return value `````````` </details> https://github.com/llvm/llvm-project/pull/127183 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits