This is to ensure that the template declaration is seen before
any template specialization.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
An alternative would be to forward declare the template <typename T> struct PointerLikeTypeTraits everywhere.
Comment Actions
The transitivity in most cases is where it get complicated. I have a failure because this got included in the wrong way/order. I can put a forward declaration into LLVM.h and then include that everywhere I how have PointerLikeTypeTraits.h. Would that work better?