[Sema] Fix crash in __datasizeof with unknown types (#80300)
Fixes #80284. Calling `getASTRecordLayout` on invalid types may crash and results of `__datasizeof` on invalid types can be arbitrary, so just use whatever `sizeof` returns.
parent
6ac4fe8d
Please register or sign in to comment