[clang] Include the type of a pointer or reference non-type template parameter in...
authorRichard Smith <richard@metafoo.co.uk>
Sun, 11 Oct 2020 22:57:52 +0000 (15:57 -0700)
committerMatheus Izvekov <mizvekov@gmail.com>
Thu, 27 Oct 2022 03:24:23 +0000 (05:24 +0200)
commit27f9b0c619c6e1439532434b632ea4f9b98f9f97
tree477cf2e3d4fa245e22d637e443ed050e6b83332a
parent188b041bf5d61fd0e6c911aeada1535cac58e1d8
[clang] Include the type of a pointer or reference non-type template parameter in its notion of template argument identity.

We already did this for all the other kinds of non-type template
argument.

Note: Based on earlier reverted patch from zygoloid.

Differential Revision: https://reviews.llvm.org/D136803
clang/docs/ReleaseNotes.rst
clang/lib/AST/ASTContext.cpp
clang/lib/AST/TemplateBase.cpp
clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp