[PATCH] D147283: [Sema] Search template parameter scopes before searching namespace/file scopes when performing unqualified name lookup

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 19 12:30:10 PDT 2023


ahatanak updated this revision to Diff 542150.
ahatanak added a comment.

- Defer collecting using directives until lookup into local scopes is done.
- Simplify the second loop.
- Add more comments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147283

Files:
  clang/lib/Sema/SemaLookup.cpp
  clang/test/SemaCXX/namespace.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147283.542150.patch
Type: text/x-patch
Size: 6209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230719/8181d798/attachment.bin>


More information about the cfe-commits mailing list