[all-commits] [llvm/llvm-project] 1f1a41: [clang-tidy] Relax readability-const-return-type (...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Wed May 1 19:43:57 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f1a417925624a67cb6cb2bbbdd901e0e90ee237
      https://github.com/llvm/llvm-project/commit/1f1a417925624a67cb6cb2bbbdd901e0e90ee237
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type.cpp

  Log Message:
  -----------
  [clang-tidy] Relax readability-const-return-type (#90560)

>From now readability-const-return-type won't provide warnings for
returning const types, where const is not on top level. In such case
const there is a performance issue, but not a readability.

Closes #73270



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