[PATCH] D150254: [tidy] Fix possible use-after-free in IdentifierNamingCheck

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 10 01:43:00 PDT 2023


hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.

The fix looks good.

We also have a `CheckName` field in the base class `ClangTidyCheck`, however that's field is private, we can't not access, we could consider make it protected (I think that's probably out of the scope of this patch).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150254



More information about the cfe-commits mailing list