summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorWolfram Sang <wsa@kernel.org>2021-10-11 08:15:48 +0200
committerWolfram Sang <wsa@kernel.org>2021-10-11 08:15:48 +0200
commitc5c34f5793f384ed2895584c6e2350b059c3f161 (patch)
tree14a73568207fb3d38d7aa43439493ac8bc906bde /scripts/clang-tools/gen_compile_commands.py
parent669b2e4aa1a869def4dc207ea084fdd77366d646 (diff)
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff)
Merge branch 'i2c/for-current' into i2c/for-mergewindow
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
-rwxr-xr-xscripts/clang-tools/gen_compile_commands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/clang-tools/gen_compile_commands.py b/scripts/clang-tools/gen_compile_commands.py
index 0033eedce003..1d1bde1fd45e 100755
--- a/scripts/clang-tools/gen_compile_commands.py
+++ b/scripts/clang-tools/gen_compile_commands.py
@@ -13,6 +13,7 @@ import logging
import os
import re
import subprocess
+import sys
_DEFAULT_OUTPUT = 'compile_commands.json'
_DEFAULT_LOG_LEVEL = 'WARNING'