[clang] Make member var invalid when static initializer is invalid.
Previously we would show an error, but keep the member, and also the CXXRrecordDecl, valid. This could lead to crashes when attempting to access the record layout or size. Differential Revision: https://reviews.llvm.org/D105478
parent
59989d68
Please register or sign in to comment