[Sema] Mark virtual method declaration in union as invalid
Currently, this is only diagnosed but the decl is not marked invalid. This may hit assertions down the path. This also reverts the fix for PR49534 since it is not needed anymore. Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D113145
Loading
Please sign in to comment