[all-commits] [llvm/llvm-project] f8c5a6: [clang][test] Add test for incompatible cv-qualifi...
Duo Wang via All-commits
all-commits at lists.llvm.org
Wed Mar 6 14:19:48 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8c5a68365fb82d9ffc64511f4b50b9c1e68144f
https://github.com/llvm/llvm-project/commit/f8c5a68365fb82d9ffc64511f4b50b9c1e68144f
Author: Duo Wang <duow1 at uci.edu>
Date: 2024-03-06 (Wed, 06 Mar 2024)
Changed paths:
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p4.cpp
Log Message:
-----------
[clang][test] Add test for incompatible cv-qualified reference types in conversion function template (#81950)
We currently lack test coverage for
[SemaTemplateDeduction.cpp#L1619-L1620](https://github.com/llvm/llvm-project/blob/fe20a75/clang/lib/Sema/SemaTemplateDeduction.cpp#L1619-L1620),
which handles the case where both the P type and the A type are
reference types but A is more cv-qualified than P. This is deemed
non-deduced unless both A and P are possibly cv-qualified forms of the
template parameter T. This PR adds tests for that logic.
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