[PATCH] Allow more lookup of types in dependent base classes

Richard Smith richard at metafoo.co.uk
Tue Jul 8 10:43:33 PDT 2014


LGTM

================
Comment at: test/SemaTemplate/ms-lookup-template-base-classes.cpp:383
@@ +382,3 @@
+
+namespace lookup_in_function_contexts {
+template <typename T> struct A { typedef T NameFromBase; };
----------------
Do you have any tests here for lookup in late-parsed function bodies? (I expect that'll fail too, and probably shouldn't.)

http://reviews.llvm.org/D4237






More information about the cfe-commits mailing list