<div dir="ltr">Thanks for reporting the issue! <div><br></div><div>I reproduced the issue and filed a bug report at <a href="http://bugs.llvm.org/show_bug.cgi?id=32095">http://bugs.llvm.org/show_bug.cgi?id=32095</a> with the relevant portion of the backtrace attached.</div><div><br></div><div>Alex</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 February 2017 at 15:30, David Come via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I found that CXXRecordDecl::viewInheritance crashes on the following code when printing C inheritance<br>
<br>
template <class T> struct A {};<br>
template <class U> class C: A<U>{};<br>
<br>
<br>
My visitor for XXXRecordDecl is the following :<br>
<br>
bool Visitor::VisitCXXRecordDecl(cl<wbr>ang::CXXRecordDecl *c) {<br>
<br>
  if (c->getNumBases() || c->getNumVBases()) {<br>
<br>
     c->viewInheritance(<wbr>astContext);<br>
<br>
  }<br>
<br>
  return true;<br>
<br>
}<br>
<br>
I wanted to open a bug report but I don't have an account.<br>
<br>
<br>
Regards,<br>
<br>
Côme David<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br></div>