From 2e5e11a05c18b6cec59eaddb312869bef4805702 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 10 Oct 2024 15:58:55 +0200 Subject: Build iwyu as a linting tool of clang-18 Co-authored-by: Paul Cristian Sarbu --- etc/imports/iwyu.TARGETS | 6 ++++++ etc/repos.json | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 etc/imports/iwyu.TARGETS (limited to 'etc') diff --git a/etc/imports/iwyu.TARGETS b/etc/imports/iwyu.TARGETS new file mode 100644 index 0000000..53fa53d --- /dev/null +++ b/etc/imports/iwyu.TARGETS @@ -0,0 +1,6 @@ +{ "sources": {"type": "export", "target": "files"} +, "files": + { "type": "install" + , "dirs": [[["TREE", null, "."], "iwyu"]] + } +} diff --git a/etc/repos.json b/etc/repos.json index e6c6e1a..aeca7b3 100644 --- a/etc/repos.json +++ b/etc/repos.json @@ -472,6 +472,7 @@ { "rules": "rules/clang_with_gcc13" , "binutils": "imports/binutils-latest" , "patches": "patches" + , "iwyu": "iwyu-18" } } , "tools/busybox-1.36.1": @@ -801,5 +802,16 @@ { "repository": {"type": "file", "path": "test"} , "bindings": {"rules": "test/rules-clang-native"} } + , "iwyu-18": + { "repository": + { "type": "archive" + , "content": "04ffb3d3e78e6d20fd0ea2fe627f83de4418528d" + , "fetch": "https://github.com/include-what-you-use/include-what-you-use/archive/refs/tags/0.22.tar.gz" + , "sha256": "34c7636da2abe7b86580b53b762f5269e71efff460f24f17d5913c56eb99cb7c" + , "subdir": "include-what-you-use-0.22" + } + , "target_file_name": "iwyu.TARGETS" + , "target_root": "imports" + } } } -- cgit v1.2.3