title: Are there any tool to parse a C file and show my code layout in a treeview, so I can easily tell which #defines a function depends on to be compiled?
body: <p>The question is pretty straight forward. I'm currently using Source Insight, but its parsing of preprocessor macros is not perfect. I need a reliable tool to show me the treeview of nested <code>#ifdef</code> and <code>#if</code> macros.</p>
  
  <p>I'm writing a new function, and I need to know in which "scope" to put it, to avoid cluttering the global namespace when the <code>#define</code>s this function depends on aren't defined.</p>