[PATCH] D143840: [clang] Add the check of membership for the issue #58674 and improve the lookup process

Liming Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 11 23:34:46 PST 2023


lime added inline comments.


================
Comment at: clang/lib/AST/CXXInheritance.cpp:84
       [BaseDecl](const CXXBaseSpecifier *Specifier, CXXBasePath &Path) {
         return Specifier->getType()->getAsRecordDecl() &&
                FindBaseClass(Specifier, Path, BaseDecl);
----------------
BTW, I forgot to revert this condition last time.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143840/new/

https://reviews.llvm.org/D143840



More information about the cfe-commits mailing list