clang-tools 22.0.0git
|
This check flags redundant preprocessor directives: nested directives with the same condition. More...
#include <RedundantPreprocessorCheck.h>
Public Member Functions | |
RedundantPreprocessorCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerPPCallbacks (const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override |
This check flags redundant preprocessor directives: nested directives with the same condition.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-preprocessor.html
Definition at line 21 of file RedundantPreprocessorCheck.h.
|
inline |
Definition at line 23 of file RedundantPreprocessorCheck.h.
|
override |
Definition at line 99 of file RedundantPreprocessorCheck.cpp.