[clang-tools-extra] [clang-tidy] Rename `cert-dcl58-cpp` to `bugprone-dont-modify-std-namespace` (PR #165659)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 2 13:24:35 PST 2025
================
@@ -0,0 +1,63 @@
+.. title:: clang-tidy - bugprone-dont-modify-std-namespace
+
+bugprone-dont-modify-std-namespace
+==================================
+
+Modification of the ``std`` or ``posix`` namespace can result in undefined
+behavior.
+This check warns for such modifications.
+The ``std`` (or ``posix``) namespace is allowed to be extended with (class or
----------------
vbvictor wrote:
Little drive-by refactoring.
https://github.com/llvm/llvm-project/pull/165659
More information about the cfe-commits
mailing list