Mercurial > hg > CbC > CbC_llvm
diff clang-tools-extra/clang-tidy/fuchsia/MultipleInheritanceCheck.h @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line diff
--- a/clang-tools-extra/clang-tidy/fuchsia/MultipleInheritanceCheck.h Mon May 25 11:50:15 2020 +0900 +++ b/clang-tools-extra/clang-tidy/fuchsia/MultipleInheritanceCheck.h Mon May 25 11:55:54 2020 +0900 @@ -15,7 +15,7 @@ namespace tidy { namespace fuchsia { -/// Mulitple implementation inheritance is discouraged. +/// Multiple implementation inheritance is discouraged. /// /// For the user-facing documentation see: /// http://clang.llvm.org/extra/clang-tidy/checks/fuchsia-multiple-inheritance.html @@ -23,6 +23,9 @@ public: MultipleInheritanceCheck(StringRef Name, ClangTidyContext *Context) : ClangTidyCheck(Name, Context) {} + bool isLanguageVersionSupported(const LangOptions &LangOpts) const override { + return LangOpts.CPlusPlus; + } void registerMatchers(ast_matchers::MatchFinder *Finder) override; void check(const ast_matchers::MatchFinder::MatchResult &Result) override;