[PATCH] D139197: Do not warn about redundant static in misc-use-anonymous-namespace
Carlos Galvez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 2 06:25:54 PST 2022
carlosgalvezp created this revision.
Herald added a reviewer: njames93.
Herald added a project: All.
carlosgalvezp requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
I will create a new check "readability-redundant-static" where this
functionality fits better, together with other cases where static
is redundant.
That way we can add automatic fixits there and keep this check
focused on doing only one thing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139197
Files:
clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp
clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h
clang-tools-extra/docs/clang-tidy/checks/misc/use-anonymous-namespace.rst
clang-tools-extra/test/clang-tidy/checkers/misc/use-anonymous-namespace.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139197.479614.patch
Type: text/x-patch
Size: 5811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221202/fbbf1717/attachment.bin>
More information about the cfe-commits
mailing list