[all-commits] [llvm/llvm-project] 4d8070: [C++20] [Modules] Don't add decls from other units...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Wed Mar 12 20:03:36 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d8070e9560269494654bd21a2b0c342f4bdae48
https://github.com/llvm/llvm-project/commit/4d8070e9560269494654bd21a2b0c342f4bdae48
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/test/Modules/external-but-not-type-external.cppm
Log Message:
-----------
[C++20] [Modules] Don't add decls from other units to undefinedButUsed set
It is still better to elide the declaration if possible. To overcome the
false positive undefinedButUsed diagnostic, it seems better to not add
declaration from other units to the set actually.
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