[PATCH] D99117: Attempt to further improve the documentation for the [[clang::lifetimebound]] attribute.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 22 15:05:17 PDT 2021


rsmith added inline comments.


================
Comment at: clang/include/clang/Basic/AttrDocs.td:3038-3039
+is considered to refer to its underlying array, and aggregates (arrays and
+simple ``struct``s) are considered to refer to all objects that their
+subobjects refer to.
+
----------------
dblaikie wrote:
> I take it this is the recursive definition that addresses my question? Sounds good to me. (could make that more explicit if you like, but I don't feel too strongly either way)
Yes, that's the intent. Thanks for the review!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99117/new/

https://reviews.llvm.org/D99117



More information about the cfe-commits mailing list