[clang-tools-extra] [tidy] add new check bugprone-return-const-ref-from-parameter (PR #89497)
Congcong Cai via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 20 20:59:22 PDT 2024
================
@@ -341,9 +342,9 @@ Clang-Tidy Checks
:doc:`portability-std-allocator-const <portability/std-allocator-const>`,
:doc:`readability-avoid-const-params-in-decls <readability/avoid-const-params-in-decls>`, "Yes"
:doc:`readability-avoid-nested-conditional-operator <readability/avoid-nested-conditional-operator>`,
- :doc:`readability-avoid-return-with-void-value <readability/avoid-return-with-void-value>`,
+ :doc:`readability-avoid-return-with-void-value <readability/avoid-return-with-void-value>`, "Yes"
:doc:`readability-avoid-unconditional-preprocessor-if <readability/avoid-unconditional-preprocessor-if>`,
- :doc:`readability-braces-around-statements <readability/braces-around-statements>`, "Yes"
----------------
HerrCai0907 wrote:
Thanks. I split the change and commit in 811ffc049ff914e15116c25ca8db7b8bd9a8e186
https://github.com/llvm/llvm-project/pull/89497
More information about the cfe-commits
mailing list