clang-tools 22.0.0git
|
Find and remove duplicate #include directives. More...
#include <DuplicateIncludeCheck.h>
Public Member Functions | |
DuplicateIncludeCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
Find and remove duplicate #include directives.
Only consecutive include directives without any other preprocessor directives between them are analyzed.
Definition at line 20 of file DuplicateIncludeCheck.h.
|
inline |
Definition at line 22 of file DuplicateIncludeCheck.h.
|
override |
Definition at line 112 of file DuplicateIncludeCheck.cpp.