I suggest you ...

Preprocessor output for a specific code section

The "-p run just the Preprocessor" option is very handy, but for me it often generates too much information to pour though when I'm trying to diagnose a specific macro issue.

It would be great if the preprocessor output could be enabled for a section of code, and send the output to a file and/or standard out.

e.g.:
//lint -p+
SOME_COMPLEX_MACRO(a,b,c,d,e);
//lint -p-

4 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
bryan shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Anonymous commented  ·   ·  Flag as inappropriate

    Do you know that Eclipse CDT has quite a fancy macro expansion that would satisfy your request?

Feedback and Knowledge Base