<div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to debug clang++ with following program</div><div>

<div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Consolas,"Courier New",monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(0,128,0)">template <class T> T::R f();</span></div></div>

</div><div><br></div><div>here it gives error:</div><div> error: missing 'typename' prior to dependent type name 'T::R'</div><div>and I want to understand the complete flow where this error is generated.</div><div><br></div><div>For this purpose I put break point in clang code which uses</div><div>dianostic kind err_typename_missing but the break points never hits.</div><div><br></div><div>So in other approach I tried to debug from the main()</div><div>but after sys::ExecuteAndWait() it spawns new thread for clang-9 executable and then I can no longer debug it.</div><div><br></div><div>Can someone provide some pointer on how to find out the exact flow?</div><div><br></div><div>-Vivek<br></div><div><br></div></div>