clang-tools 22.0.0git
clang::tidy::llvm_check::IncludeOrderCheck Class Reference

Checks the correct order of #includes. More...

#include <IncludeOrderCheck.h>

Inheritance diagram for clang::tidy::llvm_check::IncludeOrderCheck:
[legend]

Public Member Functions

 IncludeOrderCheck (StringRef Name, ClangTidyContext *Context)
void registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override

Detailed Description

Checks the correct order of #includes.

See https://llvm.org/docs/CodingStandards.html#include-style

Definition at line 19 of file IncludeOrderCheck.h.

Constructor & Destructor Documentation

◆ IncludeOrderCheck()

clang::tidy::llvm_check::IncludeOrderCheck::IncludeOrderCheck ( StringRef Name,
ClangTidyContext * Context )
inline

Definition at line 21 of file IncludeOrderCheck.h.

Member Function Documentation

◆ registerPPCallbacks()

void clang::tidy::llvm_check::IncludeOrderCheck::registerPPCallbacks ( const SourceManager & SM,
Preprocessor * PP,
Preprocessor * ModuleExpanderPP )
override

Definition at line 53 of file IncludeOrderCheck.cpp.


The documentation for this class was generated from the following files: