[PATCH] D57879: [clangd] Fix an assertion failure in Selection.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 7 07:03:54 PST 2019


ilya-biryukov added a comment.

Repro:

  template <class T>
  struct Foo {};
  
  template <template<class> class /*cursor here*/U>
  struct Foo<U<int>*> {};

I'm not sure how easy is that, but this should probably be fixed in the `RecursiveASTVisitor<>`. There's really no point in calling `TraverseDecl(null)`


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57879/new/

https://reviews.llvm.org/D57879





More information about the cfe-commits mailing list