[clang-tools-extra] [clang-tidy] Rename 'google-build-namespaces' check to 'misc-anonymous-namespace-in-header' and keep initial as alias. (PR #170986)

via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 8 00:36:13 PST 2025


=?utf-8?q?Ondřej_Štorc?= <storc.1998 at gmail.com>,Ondrej Storc
 <storcond at fit.cvut.cz>,Ondrej Storc <storcond at fit.cvut.cz>,Ondrej Storc
 <storcond at fit.cvut.cz>,Ondrej Storc <storcond at fit.cvut.cz>,Ondrej Storc
 <storcond at fit.cvut.cz>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/170986 at github.com>


================
@@ -6,26 +6,27 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "UnnamedNamespaceInHeaderCheck.h"
+#include "AnonymousNamespaceInHeaderCheck.h"
+#include "../utils/FileExtensionsUtils.h"
----------------
zeyi2 wrote:

Is this header necessary? Seems unrelated :)

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


More information about the cfe-commits mailing list