1
Fork 0

Rename ReprExtern to ReprC, and similarily rename a few other fields and locals that mentioned "extern repr"

This commit is contained in:
Robin Kruppe 2018-01-07 22:05:32 +01:00
parent 6828cf9014
commit 1df384d32d
5 changed files with 17 additions and 20 deletions

View file

@ -831,7 +831,7 @@ fn find_repr_type_name(diagnostic: &Handler, type_attrs: &[ast::Attribute]) -> &
for r in &attr::find_repr_attrs(diagnostic, a) {
repr_type_name = match *r {
attr::ReprPacked | attr::ReprSimd | attr::ReprAlign(_) => continue,
attr::ReprExtern => "i32",
attr::ReprC => "i32",
attr::ReprInt(attr::SignedInt(ast::IntTy::Isize)) => "isize",
attr::ReprInt(attr::SignedInt(ast::IntTy::I8)) => "i8",