Browse Source

clang setup

quality-test
Hendrik Langer 6 years ago
parent
commit
8cab5c72ad
  1. 1
      .gitlab-ci.yml
  2. 1
      script/build_compile_commands.py

1
.gitlab-ci.yml

@ -52,6 +52,7 @@ static_analysis:
script:
# - cppcheck --enable=all --check-config src
- cppcheck src
- script/build_compile_commands.py
- run-clang-tidy -fix src
# artifacts:
# reports:

1
script/build_compile_commands.py

@ -17,7 +17,6 @@ def shlex_quote(s):
if not s:
return u"''"
if re.search(r'[^\w@%+=:,./-]', s) is None:
print(s)
return s
return u"'" + s.replace(u"'", u"'\"'\"'") + u"'"

Loading…
Cancel
Save