Skip to content

Add support for Clang-Tidy plugins#4808

Open
ParksProjets wants to merge 1 commit intoEricsson:masterfrom
ParksProjets:clang-tidy-plugins
Open

Add support for Clang-Tidy plugins#4808
ParksProjets wants to merge 1 commit intoEricsson:masterfrom
ParksProjets:clang-tidy-plugins

Conversation

@ParksProjets
Copy link

Like for the Clang Static Analyzer, allow loading analyzer plugins when using Clang-Tidy. Plugins are loaded from 'clangtidy' sub-folder in the checker plugin folder. This prevents clashing with Clang Static Analyzer plugins, as both uses .so files.

This also fixes #1765 as clazy can now be loaded as a Clang-Tidy plugin since version 1.16 (released on 2025-09-03). This was actually the initial goal of these changes.

Like for the Clang Static Analyzer, allow loading analyzer plugins when using Clang-Tidy. Plugins are loaded from 'clangtidy' sub-folder in the checker plugin folder. This prevents clashing with Clang Static Analyzer plugins, as both uses .so files. This also fixes Ericsson#1765 as clazy can now be loaded as a Clang-Tidy plugin since version 1.16 (released on 2025-09-03). This was actually the initial goal of this commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant