Issue 179384
Summary Clang-Tidy check to flag the use of explicit internal linkage in libc headers
Labels libc
Assignees
Reporter petrhosek
    We have noticed the pattern of using explicit internal linkage in libc headers which has been causing excessive bloat negatively affecting memory and storage constrained platforms like embedded.

We should avoid using explicit internal linkage of any kind in a header, so no `static` anything outside a `class` and no anonymous namespaces.

To prevent the future use of explicit internal linkage in libc headers and automatically fix all existing use cases, we need a Clang-Tidy check.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to