[libcxx] Fix the type attribute for a couple templates
authorMartin Storsjö <martin@martin.st>
Tue, 6 Apr 2021 07:55:33 +0000 (10:55 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 6 Apr 2021 16:54:34 +0000 (19:54 +0300)
commit948dd664c3ed30dd853df03cb931436f280bad4a
tree1ddae82baf5494d5cb58ad722106dcc1c4a6a5b8
parent91d6debbb9136a0ac30278135bd4089c9e614ad1
[libcxx] Fix the type attribute for a couple templates

Use `_LIBCPP_TEMPLATE_VIS` instead of `_LIBCPP_TYPE_VIS` for a template
class.

This fixes the nodiscard_extensions.pass.cpp and a couple
func.search.default test cases when built in MSVC/DLL configurations.

Differential Revision: https://reviews.llvm.org/D99932
libcxx/include/experimental/functional
libcxx/include/functional
libcxx/include/utility
libcxx/test/libcxx/diagnostics/nodiscard_extensions.pass.cpp
libcxx/test/std/utilities/function.objects/func.search/func.search.default/default.pass.cpp
libcxx/test/std/utilities/function.objects/func.search/func.search.default/default.pred.pass.cpp