We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f230a commit c5e31e3Copy full SHA for c5e31e3
clang-tools-extra/clang-tidy/bugprone/MethodHidingCheck.h
@@ -28,6 +28,9 @@ class MethodHidingCheck : public ClangTidyCheck {
28
bool isLanguageVersionSupported(const LangOptions &LangOpts) const override {
29
return LangOpts.CPlusPlus;
30
}
31
+ std::optional<TraversalKind> getCheckTraversalKind() const override {
32
+ return TK_IgnoreUnlessSpelledInSource;
33
+ }
34
};
35
36
} // namespace clang::tidy::bugprone
0 commit comments