diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-11-17 09:34:11 +0100 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-12-19 09:25:20 -0800 |
| commit | dafa6a7ac14f18e5a2529a2251fc6d552ea37547 (patch) | |
| tree | c01d13796a386e8a926da2f861068b84507f3bd9 /mesonbuild/scripts/clangformat.py | |
| parent | ef612343d90a79a49b9116e4cf7afb07eaa08ab4 (diff) | |
| download | meson-dafa6a7ac14f18e5a2529a2251fc6d552ea37547.tar.gz | |
scripts: rename run_tool to run_clang_tool
Differentiate from the "run_tool_on_targets" function that will be introduced
in the next commit.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/scripts/clangformat.py')
| -rw-r--r-- | mesonbuild/scripts/clangformat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/scripts/clangformat.py b/mesonbuild/scripts/clangformat.py index 88cc89071..f0d084f2b 100644 --- a/mesonbuild/scripts/clangformat.py +++ b/mesonbuild/scripts/clangformat.py @@ -8,7 +8,7 @@ import subprocess from pathlib import Path import sys -from .run_tool import run_tool +from .run_tool import run_clang_tool from ..environment import detect_clangformat from ..mesonlib import version_compare from ..programs import ExternalProgram @@ -57,4 +57,4 @@ def run(args: T.List[str]) -> int: else: cformat_ver = None - return run_tool('clang-format', srcdir, builddir, run_clang_format, exelist, options, cformat_ver) + return run_clang_tool('clang-format', srcdir, builddir, run_clang_format, exelist, options, cformat_ver) |
