Date: Sat, 6 Jul 2013 22:51:56 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r252901 - stable/9/contrib/llvm/tools/clang/lib/Sema Message-ID: <201307062251.r66Mpuhn040335@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Jul 6 22:51:56 2013 New Revision: 252901 URL: http://svnweb.freebsd.org/changeset/base/252901 Log: MFC r252587: Pull in r185446 from clang trunk: Fix to PR15826 - clang hits assert in clang::ASTContext::getASTRecordLayout. Reported by: glebius Modified: stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp Directory Properties: stable/9/contrib/llvm/ (props changed) stable/9/contrib/llvm/tools/clang/ (props changed) Modified: stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp ============================================================================== --- stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp Sat Jul 6 22:39:17 2013 (r252900) +++ stable/9/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp Sat Jul 6 22:51:56 2013 (r252901) @@ -10296,7 +10296,8 @@ void Sema::ActOnTagFinishDefinition(Scop Tag->setTopLevelDeclInObjCContainer(); // Notify the consumer that we've defined a tag. - Consumer.HandleTagDeclDefinition(Tag); + if (!Tag->isInvalidDecl()) + Consumer.HandleTagDeclDefinition(Tag); } void Sema::ActOnObjCContainerFinishDefinition() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307062251.r66Mpuhn040335>