[PATCH] D156624: [clang-tidy] Access checks not done classes derived of std::array

Carlos Galvez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 30 12:20:39 PDT 2023


carlosgalvezp added a comment.

What about the use case of privately inheriting `std::array`, and overriding the `operator[]` there with bounds check? Would it be possible to check only _public_ inheritance?


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

https://reviews.llvm.org/D156624



More information about the cfe-commits mailing list