9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_PERFORMANCE_MOVECONSTRUCTORINITCHECK_H 10 #define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_PERFORMANCE_MOVECONSTRUCTORINITCHECK_H 12 #include "../ClangTidyCheck.h" 13 #include "../utils/IncludeInserter.h" 19 namespace performance {
30 void check(
const ast_matchers::MatchFinder::MatchResult &
Result)
override;
32 Preprocessor *ModuleExpanderPP)
override;
36 std::unique_ptr<utils::IncludeInserter> Inserter;
44 #endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_PERFORMANCE_MOVECONSTRUCTORINITCHECK_H IncludeStyle
Supported include styles.
Base class for all clang-tidy checks.
static constexpr llvm::StringLiteral Name
std::map< std::string, std::string > OptionMap
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context.
llvm::Optional< llvm::Expected< tooling::AtomicChanges > > Result