9#include "../ClangTidy.h"
10#include "../ClangTidyModule.h"
11#include "../ClangTidyModuleRegistry.h"
33namespace performance {
41 "performance-faster-string-find");
43 "performance-for-range-copy");
45 "performance-implicit-conversion-in-loop");
47 "performance-inefficient-algorithm");
49 "performance-inefficient-string-concatenation");
51 "performance-inefficient-vector-operation");
53 "performance-move-const-arg");
55 "performance-move-constructor-init");
57 "performance-no-automatic-move");
60 "performance-noexcept-destructor");
62 "performance-noexcept-move-constructor");
64 "performance-noexcept-swap");
66 "performance-trivially-destructible");
68 "performance-type-promotion-in-math-fn");
70 "performance-unnecessary-copy-initialization");
72 "performance-unnecessary-value-param");
77static ClangTidyModuleRegistry::Add<PerformanceModule>
78 X(
"performance-module",
"Adds performance checks.");
A collection of ClangTidyCheckFactory instances.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
volatile int PerformanceModuleAnchorSource