clang-tools 3.8.0

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 1 2 3 4 5 6]

add_new_check |
clang |
ast_matchers |
format |
query |
Query |
InvalidQuery | Any query which resulted in a parse error. The error message is in ErrStr
NoOpQuery | No-op query (i.e. a blank line)
HelpQuery | Query for "help"
QuitQuery | Query for "quit"
MatchQuery | Query for "match MATCHER"
LetQuery |
SetQueryKind |
SetQueryKind< bool > |
SetQueryKind< OutputKind > |
SetQuery | Query for "set VAR VALUE"
QueryParser |
LexOrCompleteWord |
QuerySession | Represents the state for a particular clang-query session
rename |
RenamingASTConsumer |
RenamingAction |
NamedDeclFindingConsumer |
USRFindingAction |
replace |
tidy |
cert |
CERTModule |
SetLongJmpCheck | Guards against use of setjmp/longjmp in C++ code
StaticObjectExceptionCheck | Checks whether the constructor for a static or thread_local object will throw
ThrownExceptionTypeCheck | Checks whether a thrown object is nothrow copy constructible
VariadicFunctionDefCheck | Guards against any C-style variadic function definitions (not declarations)
cppcoreguidelines |
CppCoreGuidelinesModule | A module containing checks of the C++ Core Guidelines
google |
build |
ExplicitMakePairCheck | Check that `make_pair`'s template arguments are deduced
UnnamedNamespaceInHeaderCheck | Finds anonymous namespaces in headers
UsingNamespaceDirectiveCheck | Finds using namespace directives
readability |
AvoidCStyleCastsCheck | Finds usages of C-style casts
GlobalNamesInHeadersCheck |
TodoCommentCheck | Finds TODO comments without a username or bug number
TodoCommentHandler |
runtime |
IntegerTypesCheck | Finds uses of `short`, `long` and `long long` and suggest replacing them with `u?intXX(_t)?`
MemsetZeroLengthCheck | Finds calls to memset with a literal zero in the length argument
OverloadedUnaryAndCheck | Finds overloads of unary `operator &`
StringReferenceMemberCheck | Finds members of type `const string&`
ExplicitConstructorCheck | Checks that all single-argument constructors are explicit
GoogleModule |
lexer_utils |
llvm |
LLVMHeaderGuardCheck | Finds and fixes header guards that do not adhere to LLVM style
IncludeOrderCheck | Checks the correct order of `#includes`
LLVMModule |
TwineLocalCheck | Looks for local `Twine` variables which are prone to use after frees and should be generally avoided
matchers |
misc |
ArgumentCommentCheck |
AssignOperatorSignatureCheck | Finds declarations of assign operators with the wrong return and/or argument types
BoolPointerImplicitConversionCheck | Checks for conditions based on implicit conversion from a bool pointer to bool
DefinitionsInHeadersCheck |
InaccurateEraseCheck | Checks for inaccurate use of the `erase()` method
InefficientAlgorithmCheck | Warns on inefficient use of STL algorithms on associative containers
MacroRepeatedSideEffectsCheck | Checks for repeated argument with side effects in macros
MiscModule |
MoveConstantArgumentCheck |
NewDeleteOverloadsCheck |
SwappedArgumentsCheck | Finds potentially swapped arguments by looking at implicit conversions
UndelegatedConstructorCheck | Finds creation of temporary objects in constructors that look like a function call to another constructor of the same class
UniqueptrResetReleaseCheck | Find and replace `unique_ptr::reset(release())` with `std::move()`
UnusedRAIICheck | Finds temporaries that look like RAII objects
VirtualNearMissCheck | Checks for near miss of virtual methods
modernize |
LoopConvertCheck |
StmtAncestorASTVisitor | Class used build the reverse AST properties needed to detect name conflicts and free variables
ComponentFinderASTVisitor | Class used to find the variables and member expressions on which an arbitrary expression depends
DependencyFinderASTVisitor | Class used to determine if an expression is dependent on a variable declared inside of the loop where it would be used
DeclFinderASTVisitor | Class used to determine if any declarations used in a Stmt would conflict with a particular identifier
Usage | The information needed to describe a valid convertible usage of an array index or iterator
Confidence | A class to encapsulate lowering of the tool's confidence level
ForLoopIndexUseVisitor | Discover usages of expressions consisting of index or iterator access
TUTrackingInfo |
VariableNamer | Create names for generated variables within a particular statement
MakeUniqueCheck | Replace the pattern:
ModernizeModule |
PassByValueCheck |
RedundantVoidArgCheck | Find and remove redundant void argument lists
ReplaceAutoPtrCheck | Transforms the deprecated `std::auto_ptr` into the C++11 `std::unique_ptr`
ShrinkToFitCheck | Replace copy and swap tricks on shrinkable containers with the `shrink_to_fit()` method call
UseAutoCheck |
UseDefaultCheck | Replace default bodies of special member functions with '= default;'
UseNullptrCheck |
UseOverrideCheck | Use C++11's `override` and remove `virtual` where applicable
performance |
PerformanceModule |
UnnecessaryCopyInitialization |
readability |
BracesAroundStatementsCheck | Checks that bodies of `if` statements and loops (`for`, `range-for`, `do-while`, and `while`) are inside braces
ContainerSizeEmptyCheck | Checks whether a call to the `size()` method can be replaced with a call to `empty()`
ElseAfterReturnCheck | Flags the usages of `else` after `return`
FunctionSizeCheck | Checks for large functions based on various metrics
IdentifierNamingCheck | Checks for identifiers naming style mismatch
NamingCheckFailure | Holds an identifier name check failure, tracking the kind of the identifer, its possible fixup and the starting locations of all the idenfiier usages
NamingStyle |
InconsistentDeclarationParameterNameCheck | Checks for declarations of functions which differ in parameter names
NamedParameterCheck | Find functions with unnamed arguments
NamespaceCommentCheck | Checks that long namespaces have a closing comment
ReadabilityModule |
RedundantSmartptrGetCheck | Find and remove redundant calls to smart pointer's `.get()` method
RedundantStringCStrCheck | Finds unnecessary calls to `std::string::c_str()`
SimplifyBooleanExprCheck | Looks for boolean expressions involving boolean constants and simplifies them to use the appropriate boolean expression directly
type_traits |
OptionsView | Provides access to the `ClangTidyCheck` options via check-local names
ClangTidyCheck | Base class for all clang-tidy checks
ClangTidyASTConsumerFactory |
ClangTidyMessage | A message from a clang-tidy check
ClangTidyError | A detected error complete with information to display diagnostic and automatic fix
GlobList | Read-only set of strings represented as a list of positive and negative globs
ClangTidyStats | Contains displayed and ignored diagnostic counters for a ClangTidy run
ProfileData | Container for clang-tidy profiling data
ClangTidyContext | Every `ClangTidyCheck` reports errors through a `DiagnosticsEngine` provided by this context
ClangTidyDiagnosticConsumer | A diagnostic consumer that turns each `Diagnostic` into a `SourceManager-independent` `ClangTidyError`
ClangTidyCheckFactories | A collection of `ClangTidyCheckFactory` instances
ClangTidyModule | A clang-tidy module groups a number of `ClangTidyChecks` and gives them a prefixed name
FileFilter | Contains a list of line ranges in a single file
ClangTidyGlobalOptions | Global options
ClangTidyOptions | Contains options for clang-tidy
ClangTidyOptionsProvider | Abstract interface for retrieving various ClangTidy options
DefaultOptionsProvider | Implementation of the `ClangTidyOptionsProvider` interface, which returns the same options for all files
FileOptionsProvider | Implementation of the `ClangTidyOptionsProvider` interface, which tries to find a configuration file in the closest parent directory of each source file
ProBoundsArrayToPointerDecayCheck | This check flags all array to pointer decays
ProBoundsConstantArrayIndexCheck | This checks that all array subscriptions on static arrays and std::arrays have a constant index and are within bounds
ProBoundsPointerArithmeticCheck | Flags all kinds of pointer arithmetic that have result of pointer type, i.e
ProTypeConstCastCheck | This check flags all instances of const_cast
ProTypeCstyleCastCheck | This check flags all use of C-style casts that perform a static_cast downcast, const_cast, or reinterpret_cast
ProTypeReinterpretCastCheck | Flags all occurrences of reinterpret_cast
ProTypeStaticCastDowncastCheck | Checks for usages of static_cast, where a base class is downcasted to a derived class
ProTypeUnionAccessCheck | This check flags all access to members of unions
ProTypeVarargCheck | This check flags all calls to c-style variadic functions and all use of va_arg
AssertSideEffectCheck | Finds `assert()` with side effect
MacroParenthesesCheck | Finds macros that can have unexpected behaviour due to missing parentheses
MoveConstructorInitCheck | The check flags user-defined move constructors that have a ctor-initializer initializing a member or base class through a copy constructor instead of a move constructor
NoexceptMoveConstructorCheck | The check flags user-defined move constructors and assignment operators not marked with `noexcept` or marked with `noexcept(expr)` where `expr` evaluates to `false` (but is not a `false` literal itself)
NonCopyableObjectsCheck | The check flags dereferences and non-pointer declarations of objects that are not meant to be passed by value, such as C FILE objects
SizeofContainerCheck | Find usages of sizeof on expressions of STL container types
StaticAssertCheck | Replaces `assert()` with `static_assert()` if the condition is evaluatable at compile time
StringIntegerAssignmentCheck | Finds instances where an integer is assigned to a string
ThrowByValueCatchByReferenceCheck | Checks for locations that do not throw by value
UnusedAliasDeclsCheck | Finds unused namespace alias declarations
UnusedParametersCheck | Finds unused parameters and fixes them, so that `-Wunused-parameter` can be turned on
ImplicitBoolCastCheck | Checks for use of implicit bool casts in expressions
UniqueptrDeleteReleaseCheck | Flag statements of the form: delete <unique_ptr expr>="">.release() and replace them with: <unique_ptr expr>=""> = nullptr
HeaderGuardCheck | Finds and fixes header guards
IncludeInserterCallback |
IncludeInserter |
IncludeSorter |
tooling |
clang-tidy-diff |
llvm |
yaml |
SequenceTraits< FileFilter::LineRange > |
MappingTraits< FileFilter > |
MappingTraits< ClangTidyOptions::StringPair > |
NOptionMap |
MappingTraits< ClangTidyOptions > |
Modularize |
CoverageChecker | Module map checker class
ModularizeUtilities | Modularize utilities class
PreprocessorTracker | Preprocessor tracker for modularize
rename_check |
run-clang-tidy |
Argument | This class represents one callback function argument by name and value
ASTConsumer |
CallbackCall | This class represents one callback call by name and an array of arguments
CollectEntitiesAction |
CollectEntitiesConsumer |
CollectEntitiesVisitor |
CommentHandler |
CompileCheckAction |
CompileCheckConsumer |
CompileCheckFrontendActionFactory |
CompileCheckVisitor |
CoverageCheckerAction |
CoverageCheckerCallbacks |
CoverageCheckerConsumer |
CoverageCheckerFrontendActionFactory |
DiagnosticConsumer |
EntityMap |
Entry |
FrontendActionFactory |
HeaderEntry |
Location |
ModularizeFrontendActionFactory |
PPCallbacks |
PPCallbacksTracker | This class overrides the PPCallbacks class for tracking preprocessor activity by means of its callback functions
StringMap |
SyntaxOnlyAction |