[PATCH] D12444: [Sema] Avoid crash on tag-type mismatch (Fixes PR24610)

David Majnemer via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 12:52:37 PDT 2015


majnemer added a comment.

I think it'd be nice if we keep the assert but make `setTagNameForLinkagePurposes` early-return if `TagFromDeclSpec->isInvalidDecl()` returns true.  How does that sound to you?


http://reviews.llvm.org/D12444





More information about the cfe-commits mailing list