diff options
author | Jason Merrill <jason@redhat.com> | 2022-03-15 16:23:47 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-03-28 15:36:12 -0400 |
commit | f8093854c78f820a4f0202fd4db7bba0ee0573c8 (patch) | |
tree | 6432bc735f32c1007c67adf48520be755a3a2adb | |
parent | 23e57329c6516a81a8d3eb21b365ca8a0ec0c41b (diff) | |
download | gcc-f8093854c78f820a4f0202fd4db7bba0ee0573c8.zip gcc-f8093854c78f820a4f0202fd4db7bba0ee0573c8.tar.gz gcc-f8093854c78f820a4f0202fd4db7bba0ee0573c8.tar.bz2 |
c++: add comment
gcc/cp/ChangeLog:
* pt.cc (determine_specialization): Add comment.
-rw-r--r-- | gcc/cp/pt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index cd07e48..ece839c 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -2325,6 +2325,8 @@ determine_specialization (tree template_id, continue; if (freq) { + /* C++20 CA104: Substitute directly into the + constraint-expression. */ tree fargs = DECL_TI_ARGS (fn); tsubst_flags_t complain = tf_none; freq = tsubst_constraint (freq, fargs, complain, fn); |