[all-commits] [llvm/llvm-project] 8641a2: Fix cross-references in Clang attribute reference ...

Aaron Puchert via All-commits all-commits at lists.llvm.org
Thu Jun 5 09:18:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8641a2cf99d1424905a6a03656e251fed0fd7ae1
      https://github.com/llvm/llvm-project/commit/8641a2cf99d1424905a6a03656e251fed0fd7ae1
  Author: Aaron Puchert <aaron.puchert at sap.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/return-const-ref-from-parameter.rst
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  Fix cross-references in Clang attribute reference (#142967)

Anchors are automatically generated, but adding another anchor with the
same name hides the anchor that we actually want. Simply removing the
unnecessary self-referential anchor `lifetimebound` fixes the links.

The documentation for coro_disable_lifetimebound and coro_lifetimebound
also had an unnecessary redirection. It's possible to change the link
text to differ from the heading, but I think that's not necessary here.

Also fix a reference in clang-tidy that was using the (unstable)
numbered anchor.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list