[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
Loading
Please sign in to comment