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
- Repository
- rL LLVM
Event Timeline
clang-tidy/tool/run-clang-tidy.py | ||
---|---|---|
80 ↗ | (On Diff #83165) | Why arg[0] and not just arg? |
clang-tidy/tool/run-clang-tidy.py | ||
---|---|---|
80 ↗ | (On Diff #83165) | 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. |