MaskRay added a comment. HighCommander4 narrowed it down https://github.com/jacobdufault/cquery/issues/219#issuecomment-354903152 to a much simpler reproduce:
c++ template <typename> struct actor; template <template <typename> class Actor = actor> struct terminal; This may trigger null pointer dereference of `DC` (because it calls `cast`). If the default template argument is removed, the crash goes away. Repository: rC Clang https://reviews.llvm.org/D41575 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits