{"id":17978391,"url":"https://github.com/mloskot/clang-tidy-test","last_synced_at":"2025-04-04T00:24:22.897Z","repository":{"id":66812283,"uuid":"162026706","full_name":"mloskot/clang-tidy-test","owner":"mloskot","description":"Test project for refactoring experiments using clang-tidy autotidy and other","archived":false,"fork":false,"pushed_at":"2019-01-10T21:29:46.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T12:20:28.171Z","etag":null,"topics":["autotidy","clang-tidy","experiments","refactoring","test-project"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mloskot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-16T17:56:42.000Z","updated_at":"2019-01-10T21:29:47.000Z","dependencies_parsed_at":"2023-04-07T14:15:57.490Z","dependency_job_id":null,"html_url":"https://github.com/mloskot/clang-tidy-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fclang-tidy-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fclang-tidy-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fclang-tidy-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fclang-tidy-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mloskot","download_url":"https://codeload.github.com/mloskot/clang-tidy-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247099596,"owners_count":20883426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autotidy","clang-tidy","experiments","refactoring","test-project"],"created_at":"2024-10-29T17:33:29.669Z","updated_at":"2025-04-04T00:24:22.874Z","avatar_url":"https://github.com/mloskot.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clang-tidy-test\n\nTest project for refactoring experiments using [clang-tidy]\nand related tools e.g. [autotidy].\n\n![screenshot](screenshot.png \"autotidy interactive refactoring session\")\n\n## Prerequisites\n\n- C++ compiler\n- [CMake]\n- [clang-tidy]\n- [autotidy]\n\n## Quickstart\n\n1. Run CMake to [generate] clang tooling [compile_commands.json] database\n\n    ```\n    cmake -S . -B _build\n    ```\n\n2. Run `clang-tidy/tool/run-clang-tidy.py`\n\n    ```\n    run-clang-tidy-7.py -p=_build -header-filter=test/.* \u003e clang-tidy.log 2\u003e\u00261\n    ```\n\n    The script executes [clang-tidy] with the default set of checks on\n    every translation unit in the [compile_commands.json] and\n    displays the resulting warnings and errors.\n\n3. Run [autotidy] to start interactive refactoring session based\n    on previously generated `clang-tidy.log`\n\n    ```\n    tidy clang-tidy.log\n    ```\n\n[autotidy]: https://github.com/sasq64/autotidy\n[clang-tidy]: http://clang.llvm.org/extra/clang-tidy/\n[CMake]: https://cmake.org\n[compile_commands.json]: https://clang.llvm.org/docs/JSONCompilationDatabase.html\n[generate]: https://cmake.org/cmake/help/latest/variable/CMAKE_EXPORT_COMPILE_COMMANDS.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloskot%2Fclang-tidy-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmloskot%2Fclang-tidy-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloskot%2Fclang-tidy-test/lists"}