Mercurial > hg > CbC > CbC_llvm
comparison clang-tools-extra/clang-tidy/readability/RedundantPreprocessorCheck.h @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
17 | 17 |
18 /// This check flags redundant preprocessor directives: nested directives with | 18 /// This check flags redundant preprocessor directives: nested directives with |
19 /// the same condition. | 19 /// the same condition. |
20 /// | 20 /// |
21 /// For the user-facing documentation see: | 21 /// For the user-facing documentation see: |
22 /// http://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-preprocessor.html | 22 /// http://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-preprocessor.html |
23 class RedundantPreprocessorCheck : public ClangTidyCheck { | 23 class RedundantPreprocessorCheck : public ClangTidyCheck { |
24 public: | 24 public: |
25 RedundantPreprocessorCheck(StringRef Name, ClangTidyContext *Context) | 25 RedundantPreprocessorCheck(StringRef Name, ClangTidyContext *Context) |
26 : ClangTidyCheck(Name, Context) {} | 26 : ClangTidyCheck(Name, Context) {} |
27 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, | 27 void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, |