[all-commits] [llvm/llvm-project] 7562c6: [Sema] Mark virtual method declaration in union as...
Yuanfang Chen via All-commits
all-commits at lists.llvm.org
Tue Nov 9 10:57:57 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7562c64197acbee60c4bb0d211eb699ad24f5bb8
https://github.com/llvm/llvm-project/commit/7562c64197acbee60c4bb0d211eb699ad24f5bb8
Author: Yuanfang Chen <yuanfang.chen at sony.com>
Date: 2021-11-09 (Tue, 09 Nov 2021)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCXX/PR49534.cpp
M clang/test/SemaCXX/virtual-function-in-union.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list