[PATCH] D123837: [C++20] [Modules] Judge isInCurrentModule currently

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 23:42:14 PDT 2022


ChuanqiXu updated this revision to Diff 423542.
ChuanqiXu added a comment.

Address comments:

- Add Cache in isInCurrentModule to avoid too many string comparisons.


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

https://reviews.llvm.org/D123837

Files:
  clang/include/clang/Basic/Module.h
  clang/include/clang/Sema/Sema.h
  clang/lib/Sema/SemaLookup.cpp
  clang/test/CXX/module/module.import/p2.cpp
  clang/test/Modules/cxx20-10-1-ex2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123837.423542.patch
Type: text/x-patch
Size: 5793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220419/465ab8a4/attachment.bin>


More information about the cfe-commits mailing list