[cfe-commits] [PATCH] Make PreprocessorLexer's ConditionalStack available to clients
magnus.reftel at gmail.com
Thu Oct 14 00:01:30 PDT 2010
I recently needed to inspect the conditional stack of the preprocessor
for a small tool I wrote that annotates source code. I think the
ability to see why the preprocessor is including/excluding a line
could be useful for others. Attached, please find a trivial patch that
adds a public accessor function for ConditionalStack. I would much
appreciate if this could be applied to the trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 732 bytes
Desc: not available
More information about the cfe-commits