swift-module-digester: diagnose reordering of members in a fixed layout type under ABI mode.

This commit is contained in:
Xi Ge
2018-09-18 12:14:24 -07:00
parent 0eb756f2f4
commit 05e15927a3
13 changed files with 385 additions and 8 deletions

View File

@@ -47,6 +47,8 @@ static StringRef getCategoryName(uint32_t ID) {
return "/* RawRepresentable Changes */";
case LocalDiagID::generic_sig_change:
return "/* Generic Signature Changes */";
case LocalDiagID::decl_reorder:
return "/* Fixed-layout Type Changes */";
default:
return StringRef();
}