parent
99416d3ef2
commit
fff0674ae0
|
@ -547,7 +547,7 @@ def err_conflicting_ivar_bitwidth : Error<
|
||||||
"instance variable %0 has conflicting bit-field width">;
|
"instance variable %0 has conflicting bit-field width">;
|
||||||
def err_conflicting_ivar_name : Error<
|
def err_conflicting_ivar_name : Error<
|
||||||
"conflicting instance variable names: %0 vs %1">;
|
"conflicting instance variable names: %0 vs %1">;
|
||||||
def err_inconsistant_ivar_count : Error<
|
def err_inconsistent_ivar_count : Error<
|
||||||
"inconsistent number of instance variables specified">;
|
"inconsistent number of instance variables specified">;
|
||||||
def warn_undef_method_impl : Warning<"method definition for %0 not found">,
|
def warn_undef_method_impl : Warning<"method definition for %0 not found">,
|
||||||
InGroup<DiagGroup<"incomplete-implementation">>;
|
InGroup<DiagGroup<"incomplete-implementation">>;
|
||||||
|
|
|
@ -1209,9 +1209,9 @@ void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (numIvars > 0)
|
if (numIvars > 0)
|
||||||
Diag(ivars[j]->getLocation(), diag::err_inconsistant_ivar_count);
|
Diag(ivars[j]->getLocation(), diag::err_inconsistent_ivar_count);
|
||||||
else if (IVI != IVE)
|
else if (IVI != IVE)
|
||||||
Diag(IVI->getLocation(), diag::err_inconsistant_ivar_count);
|
Diag(IVI->getLocation(), diag::err_inconsistent_ivar_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sema::WarnUndefinedMethod(SourceLocation ImpLoc, ObjCMethodDecl *method,
|
void Sema::WarnUndefinedMethod(SourceLocation ImpLoc, ObjCMethodDecl *method,
|
||||||
|
|
Loading…
Reference in New Issue