[PATCH] D77598: Integral template argument suffix and cast printing

Pratyush Das via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 05:14:26 PST 2020


reikdas marked 25 inline comments as done.
reikdas added inline comments.


================
Comment at: clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp:471
+  template <auto... N> struct X {};
+  X<1, 1u>::type y; // expected-error {{no type named 'type' in 'TypeSuffix::X<1, 1u>'}}
+  X<1, 1>::type z; // expected-error {{no type named 'type' in 'TypeSuffix::X<1, 1>'}}
----------------
@rsmith This test fails and we are unable to print the suffix here because the length of the TemplateParameterList is less than the length of the corresponding list of Template Arguments. Do you have any suggestions on how we can fix this?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77598/new/

https://reviews.llvm.org/D77598



More information about the cfe-commits mailing list