[PATCH] D35212: [Index] Prevent canonical decl becoming nullptr

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 17 08:14:39 PDT 2017


krasimir added a comment.

I've figured out a test case for this:

  template <template <typename> class A> class B { typedef A<int> A_int; };

The real-world problem comes from ptr_traits.h <https://github.com/gcc-mirror/gcc/blob/master/libstdc%2B%2B-v3/include/bits/ptr_traits.h#L64>.


https://reviews.llvm.org/D35212





More information about the cfe-commits mailing list