[clang-tools-extra] [clang-tidy] Added check 'bugprone-function-visibility-change' (PR #140086)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri May 23 19:33:59 PDT 2025


=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>,
=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/140086 at github.com>


================
@@ -124,6 +124,11 @@ New checks
   pointer and store it as class members without handle the copy and move
   constructors and the assignments.
 
+- New :doc:`bugprone-function-visibility-change
+  <clang-tidy/checks/bugprone/function-visibility-change>` check.
+
+  Checks function visibility changes in subclasses.
----------------
vbvictor wrote:

Nit suggestion: make this doc line similar to already existing checks in ReleaseNotes, it should start with "Finds..."
Please sync this also with check .rst doc and comment in check header file.

https://github.com/llvm/llvm-project/pull/140086


More information about the cfe-commits mailing list