[PATCH] D54414: [Sema] Make sure we substitute an instantiation-dependent default template parameter
Nicolas Lesser via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 12 06:57:38 PST 2018
Rakete1111 accepted this revision.
Rakete1111 added a comment.
This revision is now accepted and ready to land.
LGTM, thanks :)
================
Comment at: clang/test/SemaCXX/alias-template.cpp:188
+template <class T, class = void_t<typename T::wait_what>>
+int sfinae_me() { return 0; } // expected-note{{candidate template ignored: substitution failure}}
+
----------------
Very nit: The whole file has a space between the expected string and {{.
Repository:
rC Clang
https://reviews.llvm.org/D54414
More information about the cfe-commits
mailing list