[PATCH] D147315: [clang-tidy] support unscoped enumerations in readability-static-accessed-through-instance

Congcong Cai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 31 04:15:13 PDT 2023


HerrCai0907 created this revision.
HerrCai0907 added a reviewer: LegalizeAdulthood.
Herald added subscribers: PiotrZSL, carlosgalvezp, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
HerrCai0907 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

fixed 60810 <https://github.com/llvm/llvm-project/issues/60810>
add matcher for `enumConstantDecl`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147315

Files:
  clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
  clang-tools-extra/docs/ReleaseNotes.rst
  clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.rst
  clang-tools-extra/test/clang-tidy/checkers/readability/static-accessed-through-instance.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147315.509984.patch
Type: text/x-patch
Size: 4445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230331/56bacfb1/attachment.bin>


More information about the cfe-commits mailing list