10 #include "../ClangTidy.h" 11 #include "../ClangTidyModule.h" 12 #include "../ClangTidyModuleRegistry.h" 28 namespace performance {
34 "performance-faster-string-find");
36 "performance-for-range-copy");
38 "performance-implicit-conversion-in-loop");
40 "performance-inefficient-algorithm");
42 "performance-inefficient-string-concatenation");
44 "performance-inefficient-vector-operation");
46 "performance-move-const-arg");
48 "performance-move-constructor-init");
50 "performance-noexcept-move-constructor");
52 "performance-type-promotion-in-math-fn");
54 "performance-unnecessary-copy-initialization");
56 "performance-unnecessary-value-param");
61 static ClangTidyModuleRegistry::Add<PerformanceModule>
62 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.