aboutsummaryrefslogtreecommitdiffstats
path: root/build/ymake.core.conf
diff options
context:
space:
mode:
authoralevitskii <alevitskii@yandex-team.com>2024-11-20 09:22:19 +0300
committeralevitskii <alevitskii@yandex-team.com>2024-11-20 09:33:33 +0300
commit2d3e35f925595c445a0ff7405eda6c5ed162ab98 (patch)
treeba0e3192f22e2633345b2a3df4105282215ef435 /build/ymake.core.conf
parent1f50694cfb5c440be984de5cae781b8d5948fea6 (diff)
downloadydb-2d3e35f925595c445a0ff7405eda6c5ed162ab98.tar.gz
Use clang-format resource in style cpp linter
Use clang-format resouce in style cpp linter commit_hash:440dce939163f75f5652a9d119a2d5f064e47e6e
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r--build/ymake.core.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index a6e0b718b5..ac9fcd1593 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -5839,7 +5839,7 @@ macro YA_CONF_JSON(File) {
###
### Proxy. Don't use. Call _ADD_CPP_LINTER_CHECK directly if you need a new macro, see STYLE_CPP
macro _STYLE_CPP(CONFIG...) {
- _ADD_CPP_LINTER_CHECK(NAME clang_format LINTER tools/cpp_style_checker/cpp_style_checker DEPENDS contrib/libs/clang16/tools/clang-format CONFIGS $CPP_LINTERS_DEFAULT_CONFIGS CUSTOM_CONFIG $CONFIG)
+ _ADD_CPP_LINTER_CHECK(NAME clang_format LINTER tools/cpp_style_checker/cpp_style_checker GLOBAL_RESOURCES build/platform/clang/clang-format CONFIGS $CPP_LINTERS_DEFAULT_CONFIGS CUSTOM_CONFIG $CONFIG)
}
# tag:internal
@@ -5858,7 +5858,7 @@ macro _ADD_CPP_LINTER_CHECK(Args...) {
### Run 'ya tool clang-format' test on all cpp sources and headers of the current module
macro STYLE_CPP() {
.ALLOWED_IN_COMMON=yes
- _ADD_CPP_LINTER_CHECK(NAME clang_format LINTER tools/cpp_style_checker/cpp_style_checker DEPENDS contrib/libs/clang16/tools/clang-format CONFIGS $CPP_LINTERS_DEFAULT_CONFIGS)
+ _ADD_CPP_LINTER_CHECK(NAME clang_format LINTER tools/cpp_style_checker/cpp_style_checker GLOBAL_RESOURCES build/platform/clang/clang-format CONFIGS $CPP_LINTERS_DEFAULT_CONFIGS)
}
### @usage: HEADERS(<Dirs...> [EXCLUDE patterns...])