mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
clang-tidy module: add check for string concatenation
Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
This commit is contained in:
committed by
Kyle Edwards
parent
2d373b64ea
commit
e1ec052d53
@@ -4,6 +4,7 @@
|
||||
#include <clang-tidy/ClangTidyModuleRegistry.h>
|
||||
|
||||
#include "OstringstreamUseCmstrcatCheck.h"
|
||||
#include "StringConcatenationUseCmstrcatCheck.h"
|
||||
#include "UseBespokeEnumClassCheck.h"
|
||||
#include "UseCmstrlenCheck.h"
|
||||
#include "UseCmsysFstreamCheck.h"
|
||||
@@ -25,6 +26,8 @@ public:
|
||||
CheckFactories.registerCheck<OstringstreamUseCmstrcatCheck>(
|
||||
"cmake-ostringstream-use-cmstrcat");
|
||||
CheckFactories.registerCheck<UsePragmaOnceCheck>("cmake-use-pragma-once");
|
||||
CheckFactories.registerCheck<StringConcatenationUseCmstrcatCheck>(
|
||||
"cmake-string-concatenation-use-cmstrcat");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user