9 #include "../ClangTidy.h" 10 #include "../ClangTidyModule.h" 11 #include "../ClangTidyModuleRegistry.h" 12 #include "../google/UnnamedNamespaceInHeaderCheck.h" 33 "fuchsia-default-arguments-calls");
35 "fuchsia-default-arguments-declarations");
37 "fuchsia-header-anon-namespaces");
39 "fuchsia-multiple-inheritance");
41 "fuchsia-overloaded-operator");
43 "fuchsia-restrict-system-includes");
45 "fuchsia-statically-constructed-objects");
47 "fuchsia-trailing-return");
49 "fuchsia-virtual-inheritance");
53 static ClangTidyModuleRegistry::Add<FuchsiaModule>
54 X(
"fuchsia-module",
"Adds Fuchsia platform checks.");
void registerCheck(StringRef CheckName)
Registers the CheckType with the name Name.
Checks for allowed includes and suggests removal of any others.
Functions that have trailing returns are disallowed, except for those using decltype specifiers and l...
Default arguments are not allowed in called functions.
A collection of ClangTidyCheckFactory instances.
Constructing global, non-trivial objects with static storage is disallowed, unless the object is stat...
Defining classes with virtual inheritance is disallowed.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module...
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
static ClangTidyModuleRegistry::Add< FuchsiaModule > X("fuchsia-module", "Adds Fuchsia platform checks.")
Overloading operators is disallowed by the Fuchsia coding standard.
Default parameters are not allowed in declared functions.
This module is for Fuchsia-specific checks.
Mulitple implementation inheritance is discouraged.
volatile int FuchsiaModuleAnchorSource