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

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 08:49:46 PDT 2017


vsk added inline comments.


================
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'}}
+}
----------------
nikola wrote:
> 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...
Thanks for taking a look! I'll fix this up before committing.


https://reviews.llvm.org/D32519





More information about the cfe-commits mailing list