Added an additional ctor that takes a NumOccurrenceFlag parameter for the
SourcePaths option. This frees applications from always having to pass at least
one source file, e.g., -list-checks.
Details
Details
- Reviewers
alexfh
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good with a few nits. I'll fix them and submit the patch for you. Thanks for fixing this!
include/clang/Tooling/CommonOptionsParser.h | ||
---|---|---|
76 | nit: There should be no space before the parenthesis. Also, the 80-column limit seems to be exceeded. | |
90 | No need for enum. | |
lib/Tooling/CommonOptionsParser.cpp | ||
97 | nit: No need for enum, column limit. | |
124 | OccurrencesFlag can potentially be set to Optional, which should be handled in some way as well. |
nit: There should be no space before the parenthesis. Also, the 80-column limit seems to be exceeded.