10 #include "../ClangTidy.h"
11 #include "../ClangTidyModule.h"
12 #include "../ClangTidyModuleRegistry.h"
24 namespace performance {
30 "performance-faster-string-find");
32 "performance-for-range-copy");
34 "performance-implicit-cast-in-loop");
36 "performance-inefficient-string-concatenation");
38 "performance-inefficient-vector-operation");
40 "performance-type-promotion-in-math-fn");
42 "performance-unnecessary-copy-initialization");
44 "performance-unnecessary-value-param");
49 static ClangTidyModuleRegistry::Add<PerformanceModule>
50 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.