@ -1073,6 +1073,9 @@ void Parser::WalkRecordCXX(const clang::CXXRecordDecl* Record, Class* RC)
Sema.ForceDeclarationOfImplicitMembers(const_cast<clang::CXXRecordDecl*>(Record));
WalkRecord(Record, RC);
if (!Record->hasDefinition())
return;
RC->isPOD = Record->isPOD();
RC->isAbstract = Record->isAbstract();
@ -1405,3 +1405,15 @@ DLL_API boolean_t takeTypemapTypedefParam(boolean_t b);
class DLL_API TestAnonymousMemberNameCollision : public ClassUsingUnion {
};
namespace CXXRecordDeclWithoutDefinition
{
template<typename... T>
struct list;
template<typename T>
struct it;
template <> struct it<list<>> { };
template <> struct it<list<> const> { };
}