}
if (numIvars > 0)
- Diag(ivars[j]->getLocation(), diag::err_inconsistant_ivar);
+ Diag(ivars[j]->getLocation(), diag::err_inconsistant_ivar_count);
else if (IVI != IVE)
- Diag((*IVI)->getLocation(), diag::err_inconsistant_ivar);
+ Diag((*IVI)->getLocation(), diag::err_inconsistant_ivar_count);
}
/// CheckProtocolMethodDefs - This routine checks unimpletented methods
"conflicting super class name '%0'")
DIAG(err_conflicting_ivar_name, ERROR,
"conflicting instance variable name '%0'")
-DIAG(err_inconsistant_ivar, ERROR,
- "inconsistent instance variable specification")
+DIAG(err_inconsistant_ivar_count, ERROR,
+ "inconsistent number of instance variables specified")
DIAG(err_conflicting_ivar_type, ERROR,
"conflicting instance variable type")
DIAG(warn_undef_method_impl, WARNING,