Home
last modified time | relevance | path

Searched refs:git_clang_format (Results 1 – 3 of 3) sorted by relevance

/tools/repohooks/tools/
Dclang-format_unittest.py38 def git_clang_format(data: str): function
60 with git_clang_format('exit 0') as script:
66 with git_clang_format('echo bad >&2; exit 0') as script:
73 with git_clang_format('exit 1') as script:
79 with git_clang_format('echo bad; exit 1') as script:
86 with git_clang_format('echo bad >&2; exit 1') as script:
93 with git_clang_format('exit 2') as script:
100 with git_clang_format('echo bad patch; exit 1') as script:
Dclang-format.py72 cmd = [opts.git_clang_format, '--binary', opts.clang_format, '--diff']
/tools/repohooks/rh/
Dhooks.py426 git_clang_format = options.tool_path('git-clang-format')
428 git_clang_format] +