 add_new_check | |
 clang | -rename |
  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 | |
   boost | |
    BoostModule | |
    UseToStringCheck | Finds calls to boost::lexical_cast<std::string> and boost::lexical_cast<std::wstring> and replaces them with std::to_string and std::to_wstring calls |
   cert | |
    CERTModule | |
    CommandProcessorCheck | Execution of a command processor can lead to security vulnerabilities, and is generally not required |
    FloatLoopCounter | This check diagnoses when the loop induction expression of a for loop has floating-point type |
    SetLongJmpCheck | Guards against use of setjmp/longjmp in C++ code |
    StaticObjectExceptionCheck | Checks whether the constructor for a static or thread_local object will throw |
    StrToNumCheck | Guards against use of string conversion functions that do not have reasonable error handling for conversion errors |
    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 |
    InterfacesGlobalInitCheck | Flags possible initialization order issues of static variables |
    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 |
    ProTypeMemberInitCheck | Implements C++ Core Guidelines Type.6 |
    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 |
   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 | Flag global namespace pollution in header files |
     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 |
     NonConstReferences | Checks the usage of non-constant references in function parameters |
     OverloadedUnaryAndCheck | Finds overloads of unary operator & |
     StringReferenceMemberCheck | Finds members of type const string& |
    DefaultArgumentsCheck | Checks that default parameters are not given for virtual methods |
    ExplicitConstructorCheck | Checks that all single-argument constructors are explicit |
    GoogleModule | |
   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 | |
    AssertSideEffectCheck | Finds assert() with side effect |
    BoolPointerImplicitConversionCheck | Checks for conditions based on implicit conversion from a bool pointer to bool |
    DanglingHandleCheck | Detect dangling references in value handlers like std::experimental::string_view |
    DefinitionsInHeadersCheck | Finds non-extern non-inline function and variable definitions in header files, which can lead to potential ODR violations |
    FoldInitTypeCheck | Find and flag invalid initializer values in folds, e.g |
    ForwardDeclarationNamespaceCheck | Checks if an unused forward declaration is in a wrong namespace |
    InaccurateEraseCheck | Checks for inaccurate use of the erase() method |
    IncorrectRoundings | Checks the usage of patterns known to produce incorrect rounding |
    InefficientAlgorithmCheck | Warns on inefficient use of STL algorithms on associative containers |
    MacroParenthesesCheck | Finds macros that can have unexpected behaviour due to missing parentheses |
    MacroRepeatedSideEffectsCheck | Checks for repeated argument with side effects in macros |
    MiscModule | |
    MisplacedConstCheck | This check diagnoses when a const qualifier is applied to a typedef to a pointer type rather than to the pointee |
    MisplacedWideningCastCheck | Find casts of calculation results to bigger type |
    MoveConstantArgumentCheck | |
    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 |
    MultipleStatementMacroCheck | Detect multiple statement macros that are used in unbraced conditionals |
    NewDeleteOverloadsCheck | |
    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 |
    PointerAndIntegralOperationCheck | Find suspicious expressions involving pointer and integral types |
    RedundantExpressionCheck | Detect useless or suspicious redundant expressions |
    SizeofContainerCheck | Find usages of sizeof on expressions of STL container types |
    SizeofExpressionCheck | Find suspicious usages of sizeof expression |
    StaticAssertCheck | Replaces assert() with static_assert() if the condition is evaluatable at compile time |
    StringConstructorCheck | Finds suspicious string constructor and check their parameters |
    StringIntegerAssignmentCheck | Finds instances where an integer is assigned to a string |
    StringLiteralWithEmbeddedNulCheck | Find suspicious string literals with embedded NUL characters |
    SuspiciousMissingCommaCheck | This check finds string literals which are probably concatenated accidentally |
    SuspiciousSemicolonCheck | This check finds semicolon that modifies the meaning of the program unintendedly |
    SuspiciousStringCompareCheck | Find suspicious calls to string compare functions |
    SwappedArgumentsCheck | Finds potentially swapped arguments by looking at implicit conversions |
    ThrowByValueCatchByReferenceCheck | Checks for locations that do not throw by value |
    UnconventionalAssignOperatorCheck | Finds declarations of assignment operators with the wrong return and/or argument types and definitions with good return type but wrong return statements |
    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() |
    UnusedAliasDeclsCheck | Finds unused namespace alias declarations |
    UnusedParametersCheck | Finds unused parameters and fixes them, so that -Wunused-parameter can be turned on |
    UnusedRAIICheck | Finds temporaries that look like RAII objects |
    UnusedUsingDeclsCheck | Finds unused using declarations |
    VirtualNearMissCheck | Checks for near miss of virtual methods |
   modernize | |
    AvoidBindCheck | Replace simple uses of std::bind with a lambda |
    DeprecatedHeadersCheck | This check replaces deprecated C library headers with their C++ STL alternatives |
    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 |
    MakeSharedCheck | Replace the pattern: |
    MakeSmartPtrCheck | Base class for MakeSharedCheck and MakeUniqueCheck |
    MakeUniqueCheck | Replace the pattern: |
    ModernizeModule | |
    PassByValueCheck | |
    RawStringLiteralCheck | This check replaces string literals with escaped characters to raw string literals |
    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 | |
    UseBoolLiteralsCheck | Finds integer literals which are cast to bool |
    UseDefaultCheck | Replace default bodies of special member functions with '= default;' |
    UseEmplaceCheck | This check looks for cases when inserting new element into std::vector but the element is constructed temporarily |
    UseNullptrCheck | |
    UseOverrideCheck | Use C++11's override and remove virtual where applicable |
    UseUsingCheck | Check finds typedefs and replaces it with usings |
   performance | |
    FasterStringFindCheck | Optimize calls to std::string::find() and friends when the needle passed is a single character string literal |
    ForRangeCopyCheck | A check that detects copied loop variables and suggests using const references |
    ImplicitCastInLoopCheck | |
    PerformanceModule | |
    UnnecessaryCopyInitialization | |
    UnnecessaryValueParamCheck | A check that flags value parameters of expensive to copy types that can safely be converted to const references |
   readability | |
    AvoidConstParamsInDecls | |
    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() |
    DeletedDefaultCheck | Checks when a constructor or an assignment operator is marked as '= default' but is actually deleted by the compiler |
    ElseAfterReturnCheck | Flags the usages of else after return |
    FunctionASTVisitor | |
     FunctionInfo | |
    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 identifier usages |
     NamingStyle | |
    ImplicitBoolCastCheck | Checks for use of implicit bool casts in expressions |
    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 | |
    RedundantControlFlowCheck | Eliminates redundant return statements at the end of a function that returns void |
    RedundantSmartptrGetCheck | Find and remove redundant calls to smart pointer's .get() method |
    RedundantStringCStrCheck | Finds unnecessary calls to std::string::c_str() |
    RedundantStringInitCheck | Finds unnecessary string initializations |
    SimplifyBooleanExprCheck | Looks for boolean expressions involving boolean constants and simplifies them to use the appropriate boolean expression directly |
    StaticDefinitionInAnonymousNamespaceCheck | Finds static function and variable definitions in anonymous namespace |
    UniqueptrDeleteReleaseCheck | Flags statements of the form delete <unique_ptr expr>.release(); and replaces them with: <unique_ptr expr> = nullptr; |
   utils | |
    decl_ref_expr | |
    fixit | |
    lexer | |
    options | |
    type_traits | |
    HeaderGuardCheck | Finds and fixes header guards |
    IncludeInserterCallback | |
    IncludeInserter | Produces fixes to insert specified includes to source files, if not yet present |
    IncludeSorter | Class used by IncludeInserterCallback to record the names of the inclusions in a given source file being processed and generate the necessary commands to sort the inclusions according to the precedence encoded in IncludeKinds |
   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 |
   ConfigOptionsProvider | Implementation of ClangTidyOptions interface, which is used for '-config' command-line option |
   FileOptionsProvider | Implementation of the ClangTidyOptionsProvider interface, which tries to find a configuration file in the closest parent directory of each source file |
   ClangTidyPluginAction | The core clang tidy plugin action |
  tooling | |
 clang-rename | |
 clang-tidy-diff | |
 llvm | |
  yaml | |
   SequenceTraits< FileFilter::LineRange > | |
   MappingTraits< FileFilter > | |
   MappingTraits< ClangTidyOptions::StringPair > | |
   NOptionMap | |
   MappingTraits< ClangTidyOptions > | |
  DenseMapInfo< clang::tidy::readability::IdentifierNamingCheck::NamingCheckId > | Specialisation of DenseMapInfo to allow NamingCheckId objects in DenseMaps |
 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 | |
 MultiplexConsumer | |
 PluginASTAction | |
 PPCallbacks | |
 PPCallbacksTracker | This class overrides the PPCallbacks class for tracking preprocessor activity by means of its callback functions |
 StringMap | |
 SyntaxOnlyAction | |