diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/RedundantSmartptrGet.h')
-rw-r--r-- | clang-tools-extra/clang-tidy/misc/RedundantSmartptrGet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/RedundantSmartptrGet.h b/clang-tools-extra/clang-tidy/misc/RedundantSmartptrGet.h index 32268c2dab1..8883275f10b 100644 --- a/clang-tools-extra/clang-tidy/misc/RedundantSmartptrGet.h +++ b/clang-tools-extra/clang-tidy/misc/RedundantSmartptrGet.h @@ -23,6 +23,8 @@ namespace tidy { /// *ptr->get() ==> **ptr class RedundantSmartptrGet : public ClangTidyCheck { public: + RedundantSmartptrGet(StringRef Name, ClangTidyContext *Context) + : ClangTidyCheck(Name, Context) {} void registerMatchers(ast_matchers::MatchFinder *Finder) override; void check(const ast_matchers::MatchFinder::MatchResult &Result) override; }; |