[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
Sat Apr 1 18:07:59 PDT 2023


HerrCai0907 added a comment.

In D147315#4238596 <https://reviews.llvm.org/D147315#4238596>, @carlosgalvezp wrote:

> Would it make sense to add a scoped enum to the test, to ensure it doesn't warn/fix?

It is not possible to visit scoped enum by instance. I think adding an invalid expression to test it is meaningless.


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