How to find all lines in code where inheritance take place? : <p>Is there any tool/static analysis tool/build in compiler or IDE tool that can find all lines of code where inheritance take place?</p>

<p>What I want to do is to find all inheritance cases and then check if base class have virtual destructor.</p>
