[all-commits] [llvm/llvm-project] 8ce17c: [clang][NFC] Remove CXXRecordDecl::lookupDependent...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Mon Feb 24 12:05:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ce17c15577d223e14b62f9198d4b2ae9856b9fb
      https://github.com/llvm/llvm-project/commit/8ce17c15577d223e14b62f9198d4b2ae9856b9fb
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M clang/include/clang/AST/DeclCXX.h
    M clang/lib/AST/CXXInheritance.cpp

  Log Message:
  -----------
  [clang][NFC] Remove CXXRecordDecl::lookupDependentName() and its helpers (#128392)

This function has been superseded by
HeuristicResolver::lookupDependentName(), which implements the same
heuristics and more.

Porting note for any out-of-tree callers:

```
RD->lookupDependentName(Name, Filter);
```

can be replaced with:

```
HeuristicResolver(RD->getASTContext())->lookupDependentName(Name, Filter);
```



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list