================ @@ -61,6 +61,44 @@ struct DenseMapInfo<clang::tidy::RenamerClangTidyCheck::NamingCheckId> { namespace clang::tidy { namespace { +/// Returns the function that \p Method is overridding. If There are none or +/// multiple overrides it returns nullptr. If the overridden function itself is +/// overridding then it will recurse up to find the first decl of the function. +const CXXMethodDecl *getOverrideMethod(const CXXMethodDecl *Method) { ---------------- PiotrZSL wrote:
anyonymous namespace -> static (per llvm codding guidelines) leave only NameLookup in anonymous namespace https://github.com/llvm/llvm-project/pull/88735 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits