We need to defer this check in the case where the type in question is still being defined.
================ Comment at: lib/Sema/SemaDecl.cpp:6497-6498 @@ -6496,3 +6496,4 @@ // Check that the return type is not an abstract class type. // For record types, this is done by the AbstractClassUsageDiagnoser once // the class has been completely parsed. + if (SemaRef.RequireNonAbstractType( ---------------- This comment describes how this case is intended to be handled; we need more digging to figure out what's actually wrong here. http://reviews.llvm.org/D4769 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
