[PATCH] D32519: [Sema] Avoid using a null type pointer (fixes PR32750)

Nikola Smiljanić via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 22:13:38 PDT 2017


nikola accepted this revision.
nikola added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/SemaCXX/MicrosoftExtensions.cpp:516
+template<typename T> struct A {};
+template<typename T> struct B : A<A<T> > { A<T>::C::D d; }; // expected-error {{missing 'typename' prior to dependent type name 'A<T>::C::D'}}
+}
----------------
nitpick: you don't need the space between angle brackets since you set the standard to C++14, I'm not sure what the convention here is but you don't need more than C++11...


https://reviews.llvm.org/D32519





More information about the cfe-commits mailing list