Go to the documentation of this file.
9 #include "../ClangTidy.h"
10 #include "../ClangTidyModule.h"
11 #include "../ClangTidyModuleRegistry.h"
12 #include "../google/UnnamedNamespaceInHeaderCheck.h"
32 "fuchsia-default-arguments-calls");
34 "fuchsia-default-arguments-declarations");
36 "fuchsia-header-anon-namespaces");
38 "fuchsia-multiple-inheritance");
40 "fuchsia-overloaded-operator");
42 "fuchsia-statically-constructed-objects");
44 "fuchsia-trailing-return");
46 "fuchsia-virtual-inheritance");
50 static ClangTidyModuleRegistry::Add<FuchsiaModule>
51 X(
"fuchsia-module",
"Adds Fuchsia platform checks.");
volatile int FuchsiaModuleAnchorSource
Multiple implementation inheritance is discouraged.
This module is for Fuchsia-specific checks.
Default arguments are not allowed in called functions.
A collection of ClangTidyCheckFactory instances.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
Defining classes with virtual inheritance is disallowed.
Constructing global, non-trivial objects with static storage is disallowed, unless the object is stat...
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
Overloading operators is disallowed by the Fuchsia coding standard.
Functions that have trailing returns are disallowed, except for those using decltype specifiers and l...
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.
Default parameters are not allowed in declared functions.