Bug 2659 - Add -F option to check-style.py to check all .cc and .h files in a directory
Add -F option to check-style.py to check all .cc and .h files in a directory
Status: PATCH PENDING
Product: ns-3
Classification: Unclassified
Component: general
pre-release
All All
: P3 enhancement
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-19 20:32 EST by Robert Ammon
Modified: 2017-02-19 20:43 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Ammon 2017-02-19 20:32:48 EST
Add -F option to check-style.py to check all .cc and .h files in a directory
Comment 1 Robert Ammon 2017-02-19 20:33:45 EST
Modified file uploaded as http://codereview.appspot.com/318430043
Comment 2 Tom Henderson 2017-02-19 20:41:37 EST
I am OK with this new option for use on new modules, so long as we do not encourage people to run this on existing modules (rationale:  lots of whitespace changes break out of tree code).

When I have needed to do this on a directory in the past, I have used the existing -f option combined with Linux find.
Comment 3 Robert Ammon 2017-02-19 20:43:01 EST
Ignore previous comment, wrong issue referenced.

Modified file uploaded as http://codereview.appspot.com/320220043