mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
feat(tidy): add fairmq-modernize-deprecated-headers
- Report includes of the ten deprecated headers, e.g. <FairMQDevice.h> or <fairmq/FairMQDevice.h>, and replace them with the successor, e.g. <fairmq/Device.h>. Today these headers only emit a #pragma warning. - Keep the quote style of the include. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
* copied verbatim in the file "LICENSE" *
|
||||
********************************************************************************/
|
||||
|
||||
#include <fairmq/tidy/DeprecatedHeadersCheck.h>
|
||||
#include <fairmq/tidy/NonNamespacedTypesCheck.h>
|
||||
|
||||
#include <clang-tidy/ClangTidyModule.h>
|
||||
@@ -20,6 +21,7 @@ class Module : public clang::tidy::ClangTidyModule
|
||||
public:
|
||||
void addCheckFactories(clang::tidy::ClangTidyCheckFactories& factories) override
|
||||
{
|
||||
factories.registerCheck<DeprecatedHeadersCheck>("fairmq-modernize-deprecated-headers");
|
||||
factories.registerCheck<NonNamespacedTypesCheck>("fairmq-modernize-nonnamespaced-types");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user