[clang-tools-extra] [clang-tidy][doc] fix incorrectly performance-unnecessary-copy-initialization link in release note (PR #122910)

Congcong Cai via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 06:43:58 PST 2025


https://github.com/HerrCai0907 created https://github.com/llvm/llvm-project/pull/122910

None

>From bf628c7949451533a9455d7f7cb8938d8f547dc3 Mon Sep 17 00:00:00 2001
From: Congcong Cai <congcongcai0907 at 163.com>
Date: Tue, 14 Jan 2025 22:43:31 +0800
Subject: [PATCH] [clang-tidy][doc] fix incorrectly
 performance-unnecessary-copy-initialization link in release note

---
 clang-tools-extra/docs/ReleaseNotes.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 3fe2f0ce01bccd..6350022ed9a8d3 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -351,8 +351,8 @@ Changes in existing checks
   <clang-tidy/checks/performance/move-const-arg>` check to fix a crash when
   an argument type is declared but not defined.
 
-- Improved :doc:`performance-unnecessary-copy-initialization`
-  <clang-tidy/checks/performance/unnecessary-copy-initialization> check
+- Improved :doc:`performance-unnecessary-copy-initialization
+  <clang-tidy/checks/performance/unnecessary-copy-initialization>` check
   to consider static member functions the same way as free functions.
 
 - Improved :doc:`readability-container-contains



More information about the cfe-commits mailing list