[all-commits] [llvm/llvm-project] 4bb5f8: [clang][NFC] Remove CXXRecordDecl::lookupDependent...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Sat Feb 22 19:52:27 PST 2025


  Branch: refs/heads/users/HighCommander4/lookupdependentname-remove
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb5f832edc9370e3d782427db8cd51b8ffdc835
      https://github.com/llvm/llvm-project/commit/4bb5f832edc9370e3d782427db8cd51b8ffdc835
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-02-22 (Sat, 22 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

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