Go to the documentation of this file.
9 #include "../ClangTidy.h"
10 #include "../ClangTidyModule.h"
11 #include "../ClangTidyModuleRegistry.h"
25 "zircon-temporary-objects");
30 static ClangTidyModuleRegistry::Add<ZirconModule>
31 X(
"zircon-module",
"Adds Zircon kernel checks.");
This module is for Zircon-specific checks.
A collection of ClangTidyCheckFactory instances.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
volatile int ZirconModuleAnchorSource
Construction of specific temporary objects in the Zircon kernel is discouraged.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.