[PATCH] D133029: [Sema] Allow to diagnose the references to std::vector<T> with incomplete T
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 31 08:23:38 PDT 2022
ilya-biryukov added a comment.
This warning might be a little verbose and pedantic for Clang, but I still wanted to share the code.
I would be more comfortable doing this a `clang-tidy` check, but I don't think there is an easy way to write it outside `Sema` and `Sema` is not readily available for `clang-tidy`.
I will try to find ways to patch this in locally for my use-case, but also happy to submit this if others think it is useful.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133029/new/
https://reviews.llvm.org/D133029
More information about the cfe-commits
mailing list