[PATCH] D118034: [C++20] [Modules] Don't complain about duplicated default template argument across modules
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 15 23:04:04 PST 2022
ChuanqiXu updated this revision to Diff 409157.
ChuanqiXu added a comment.
Address comment to check if the duplicated default template arguments are the same and add tests to address the negative cases.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118034/new/
https://reviews.llvm.org/D118034
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaTemplate.cpp
clang/test/Modules/Inputs/redundant-template-default-arg/foo.cppm
clang/test/Modules/Inputs/redundant-template-default-arg/foo.h
clang/test/Modules/Inputs/redundant-template-default-arg2/foo.cppm
clang/test/Modules/Inputs/redundant-template-default-arg3/foo.cppm
clang/test/Modules/Inputs/redundant-template-default-arg3/foo.h
clang/test/Modules/Inputs/redundant-template-default-arg3/foo_bad.h
clang/test/Modules/redundant-template-default-arg.cpp
clang/test/Modules/redundant-template-default-arg2.cpp
clang/test/Modules/redundant-template-default-arg3.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118034.409157.patch
Type: text/x-patch
Size: 17400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220216/27e4661d/attachment-0001.bin>
More information about the cfe-commits
mailing list