9 #include "../ClangTidy.h" 10 #include "../ClangTidyModule.h" 11 #include "../ClangTidyModuleRegistry.h" 29 namespace performance {
35 "performance-faster-string-find");
37 "performance-for-range-copy");
39 "performance-implicit-conversion-in-loop");
41 "performance-inefficient-algorithm");
43 "performance-inefficient-string-concatenation");
45 "performance-inefficient-vector-operation");
47 "performance-move-const-arg");
49 "performance-move-constructor-init");
51 "performance-no-automatic-move");
53 "performance-noexcept-move-constructor");
55 "performance-trivially-destructible");
57 "performance-type-promotion-in-math-fn");
59 "performance-unnecessary-copy-initialization");
61 "performance-unnecessary-value-param");
66 static ClangTidyModuleRegistry::Add<PerformanceModule>
67 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.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//