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

Pratyush Das via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 22 06:16:27 PDT 2020


reikdas added inline comments.


================
Comment at: clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp:466
+  template <> struct S<1> { using type = int; }; // expected-note {{'S<1>::type' declared here}}
+  S<1L>::type t; // expected-error {{no type named 'type' in 'PR9227::S<1L>'; did you mean 'S<1>::type'?}}
+
----------------
@rsmith This test fails with this new diff :( Could you please suggest a possible way to 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