aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/run-clang-tools.py
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2020-08-22 14:56:13 +0000
committerMasahiro Yamada <[email protected]>2020-08-26 15:44:33 +0000
commit6fca36f1d82ad5bc385187f0aed93bbaefaa2172 (patch)
tree91428edf9cfde9f5f51a2566f47636357a1c7640 /scripts/clang-tools/run-clang-tools.py
parentgen_compile_commands: reword the help message of -d option (diff)
downloadkernel-6fca36f1d82ad5bc385187f0aed93bbaefaa2172.tar.gz
kernel-6fca36f1d82ad5bc385187f0aed93bbaefaa2172.zip
gen_compile_commands: make -o option independent of -d option
Change the -o option independent of the -d option, which is I think clearer behavior. Some people may like to use -d to specify a separate output directory, but still output the compile_commands.py in the source directory (unless the source tree is read-only) because it is the default location Clang Tools search for the compilation database. Also, move the default parameter to the default= argument of the .add_argument(). Signed-off-by: Masahiro Yamada <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions