9#include "../ClangTidy.h"
10#include "../ClangTidyModule.h"
11#include "../ClangTidyModuleRegistry.h"
12#include "../google/UnnamedNamespaceInHeaderCheck.h"
31 "fuchsia-default-arguments-calls");
33 "fuchsia-default-arguments-declarations");
35 "fuchsia-header-anon-namespaces");
37 "fuchsia-multiple-inheritance");
39 "fuchsia-overloaded-operator");
41 "fuchsia-statically-constructed-objects");
43 "fuchsia-trailing-return");
45 "fuchsia-virtual-inheritance");
49static ClangTidyModuleRegistry::Add<FuchsiaModule>
50 X(
"fuchsia-module",
"Adds Fuchsia platform 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.
Default arguments are not allowed in called functions.
Default parameters are not allowed in declared functions.
This module is for Fuchsia-specific checks.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
Multiple implementation inheritance is discouraged.
Overloading operators is disallowed by the Fuchsia coding standard.
Constructing global, non-trivial objects with static storage is disallowed, unless the object is stat...
Functions that have trailing returns are disallowed, except for those using decltype specifiers and l...
Defining classes with virtual inheritance is disallowed.
volatile int FuchsiaModuleAnchorSource