[clang-tidy] Add misc-use-anonymous-namespace check
authorCarlos Galvez <carlosgalvezp@gmail.com>
Thu, 3 Nov 2022 11:04:10 +0000 (11:04 +0000)
committerCarlos Galvez <carlosgalvezp@gmail.com>
Thu, 1 Dec 2022 07:19:30 +0000 (07:19 +0000)
commit65d6d67fc9a9aa818d3ae41bd52bd9f64b95c06e
tree0da66b9724fc66d4a2d84893a38d794f7e9fa596
parentdf43ec30ab66f5af7bbf87e121e0fe26aad478b4
[clang-tidy] Add misc-use-anonymous-namespace check

Differential Revision: https://reviews.llvm.org/D137340
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h [new file with mode: 0644]
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/misc/use-anonymous-namespace.rst [new file with mode: 0644]
clang-tools-extra/test/clang-tidy/checkers/misc/use-anonymous-namespace.cpp [new file with mode: 0644]