diff options
| author | Alexander Kornienko <alexfh@google.com> | 2019-03-22 18:58:12 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2019-03-22 18:58:12 +0000 |
| commit | b6c4db9981ce8f8a9cec1e8608664c17ca099796 (patch) | |
| tree | 3f5ad3ec5f00ecfc98bc0af4f7550a9d3d558e0c /clang-tools-extra/clang-tidy/google/TodoCommentCheck.h | |
| parent | b719245a946ec84296292a5738ea3b36a13bc170 (diff) | |
| download | bcm5719-llvm-b6c4db9981ce8f8a9cec1e8608664c17ca099796.tar.gz bcm5719-llvm-b6c4db9981ce8f8a9cec1e8608664c17ca099796.zip | |
[clang-tidy] Move all checks to the new registerPPCallbacks API
llvm-svn: 356796
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/TodoCommentCheck.h')
| -rw-r--r-- | clang-tools-extra/clang-tidy/google/TodoCommentCheck.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/google/TodoCommentCheck.h b/clang-tools-extra/clang-tidy/google/TodoCommentCheck.h index eb89dd03d0b..8f7564fedc6 100644 --- a/clang-tools-extra/clang-tidy/google/TodoCommentCheck.h +++ b/clang-tools-extra/clang-tidy/google/TodoCommentCheck.h @@ -22,7 +22,8 @@ namespace readability { class TodoCommentCheck : public ClangTidyCheck { public: TodoCommentCheck(StringRef Name, ClangTidyContext *Context); - void registerPPCallbacks(CompilerInstance &Compiler) override; + void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, + Preprocessor *ModuleExpanderPP) override; private: class TodoCommentHandler; |

