aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/clang
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/platform/clang
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/platform/clang')
-rw-r--r--build/platform/clang/clang-format/clang-format16.json19
-rw-r--r--build/platform/clang/clang-format/ya.make7
2 files changed, 26 insertions, 0 deletions
diff --git a/build/platform/clang/clang-format/clang-format16.json b/build/platform/clang/clang-format/clang-format16.json
new file mode 100644
index 0000000000..0f98362164
--- /dev/null
+++ b/build/platform/clang/clang-format/clang-format16.json
@@ -0,0 +1,19 @@
+{
+ "by_platform": {
+ "darwin": {
+ "uri": "sbr:7402815718"
+ },
+ "darwin-arm64": {
+ "uri": "sbr:7402814010"
+ },
+ "linux": {
+ "uri": "sbr:7402818343"
+ },
+ "linux-aarch64": {
+ "uri": "sbr:7402817039"
+ },
+ "win32-clang-cl": {
+ "uri": "sbr:7402812744"
+ }
+ }
+}
diff --git a/build/platform/clang/clang-format/ya.make b/build/platform/clang/clang-format/ya.make
new file mode 100644
index 0000000000..22a8e6e5c3
--- /dev/null
+++ b/build/platform/clang/clang-format/ya.make
@@ -0,0 +1,7 @@
+RESOURCES_LIBRARY()
+
+# Note: the json below is also referred from build/ya.conf.json,
+# please change these references consistently
+DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE_BY_JSON(CLANG_FORMAT clang-format16.json)
+
+END()