These flags allow specifying extra arguments to the tool's command
line which don't appear in the compilation database.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2611 Build 2611: arc lint + arc unit
Event Timeline
clang-tidy/tool/run-clang-tidy.py | ||
---|---|---|
80 | Why arg[0] and not just arg? |
clang-tidy/tool/run-clang-tidy.py | ||
---|---|---|
80 | With nargs=1, extra_arg would be something like [['foo'], ['bar']] if -extra-arg foo -extra-arg bar is passed. But I realized that there is no good reason why I need nargs=1 since action='append' will make the arg parser consume one argument, so I'll remove that and simplify this to just arg. |
Why arg[0] and not just arg?