10 #include "../ClangTidy.h"
11 #include "../ClangTidyModule.h"
12 #include "../ClangTidyModuleRegistry.h"
23 namespace performance {
29 "performance-faster-string-find");
31 "performance-for-range-copy");
33 "performance-implicit-cast-in-loop");
35 "performance-inefficient-string-concatenation");
37 "performance-type-promotion-in-math-fn");
39 "performance-unnecessary-copy-initialization");
41 "performance-unnecessary-value-param");
46 static ClangTidyModuleRegistry::Add<PerformanceModule>
47 X(
"performance-module",
"Adds performance checks.");
void registerCheck(StringRef CheckName)
Registers the CheckType with the name Name.
A collection of ClangTidyCheckFactory instances.
volatile int PerformanceModuleAnchorSource
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.