[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 15:20:53 PDT 2023


HerrCai0907 added a comment.

In D147315#4236403 <https://reviews.llvm.org/D147315#4236403>, @PiotrZSL wrote:

> Add test with scoped enums, to validate that it works correctly.
> In theory this change should suport them also.

scoped enum not support to visit by member. `EnumName::` is needed for scoped enum. And `ins.EnumName` is invalid.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147315



More information about the cfe-commits mailing list