[all-commits] [llvm/llvm-project] db3d0e: [C++20] [Modules] Don't diagnose on invisible name...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Dec 4 01:05:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db3d0e4dfa34e59fab90c0726a6722f82db48462
      https://github.com/llvm/llvm-project/commit/db3d0e4dfa34e59fab90c0726a6722f82db48462
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaLookup.cpp
    M clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p5-ex2.cpp
    M clang/test/CXX/module/module.interface/p2.cpp
    A clang/test/Modules/pr73893.cppm
    M clang/test/Modules/submodules-merge-defs.cpp

  Log Message:
  -----------
  [C++20] [Modules] Don't diagnose on invisible namesapce

Close https://github.com/llvm/llvm-project/issues/73893

As the issue shows, generally, the diagnose information for
invisible namespace is confusing more than helpful. Also this patch
implements the same solution as suggested in the issue: don't diagnose
on invisible namespace.




More information about the All-commits mailing list