[PATCH] D133029: [Sema] Allow to diagnose the references to std::vector<T> with incomplete T

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 8 13:14:30 PDT 2022


dblaikie added a comment.

any chance of generalizing this beyond a special case for `std::vector` - an attribute we could add to any class template (perhaps particular template parameters to the class template) to document the requirement? (is std::vector the only type in the standard library that has this property, or only the one people trip over most often)


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