swift-module-digester: diagnose value ownership changes for parameters.

This commit is contained in:
Xi Ge
2018-10-04 18:02:43 -07:00
parent 01c4c3c12b
commit a1e66a0515
9 changed files with 23 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ static StringRef getCategoryName(uint32_t ID) {
case LocalDiagID::default_arg_removed:
case LocalDiagID::decl_type_change:
case LocalDiagID::func_type_escaping_changed:
case LocalDiagID::param_ownership_change:
return "/* Type Changes */";
case LocalDiagID::raw_type_change:
return "/* RawRepresentable Changes */";