[clang-tools-extra] [clang-tidy] insert ``static`` keyword in correct position for misc-use-internal-linkage (PR #108792)
Danny Mösch via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 23:52:58 PDT 2024
================
@@ -128,6 +128,10 @@ Changes in existing checks
<clang-tidy/checks/misc/unconventional-assign-operator>` check to avoid
false positive for C++23 deducing this.
+- Improved :doc:`misc-use-internal-linkage
+ <clang-tidy/checks/misc/use-internal-linkage>` check to insert ``static`` keyword
+ before type qualifier such as ``const``, ``volatile``.
----------------
SimplyDanny wrote:
```suggestion
before type qualifiers such as ``const`` and ``volatile``.
```
https://github.com/llvm/llvm-project/pull/108792
More information about the cfe-commits
mailing list