[PATCH] D108893: clang-tidy: introduce readability-containter-data-pointer check
Saleem Abdulrasool via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 29 15:04:05 PDT 2021
compnerd added a comment.
Hmm, one case that doesn't currently get handled properly is the following test case:
c++
template <typename T> void f(const T *);
void g(const std::vector<unsigned char> **v) {
f(&(**v)[0]);
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108893/new/
https://reviews.llvm.org/D108893
More information about the cfe-commits
mailing list