[PATCH] D139197: [clang-tidy] 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 09:13:30 PST 2022


carlosgalvezp updated this revision to Diff 479656.
carlosgalvezp added a comment.

Simplify anonymous namespace matcher.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139197/new/

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.479656.patch
Type: text/x-patch
Size: 5389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221202/6d3758e2/attachment.bin>


More information about the cfe-commits mailing list