[all-commits] [llvm/llvm-project] 4ef16e: [NFC][clang-tidy] document fix to bugprone-return-...

Julian Schmidt via All-commits all-commits at lists.llvm.org
Fri Sep 13 10:05:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ef16e3160750717f447fd76e2383c10b68eb5ae
      https://github.com/llvm/llvm-project/commit/4ef16e3160750717f447fd76e2383c10b68eb5ae
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

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

  Log Message:
  -----------
  [NFC][clang-tidy] document fix to bugprone-return-const-ref-from-parameter (#107641)

Describe how the issue that is diagnosed by this check can be resolved.
Namely, by adding an overload for the xvalue case (`&&` parameter).

Fixes #107600



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