def warn_deprecated_fwdclass_message : Warning<
"%0 maybe deprecated because receiver type is unknown">,
InGroup<DeprecatedDeclarations>;
-def warn_depercated_def : Warning<
+def warn_deprecated_def : Warning<
"Implementing deprecated %select{method|class|category}0">,
InGroup<DeprecatedImplementations>, DefaultIgnore;
def err_unavailable : Error<"%0 is unavailable">;
SourceLocation ImplLoc,
int select) {
- unsigned DIAG = diag::warn_depercated_def;
+ unsigned DIAG = diag::warn_deprecated_def;
if (S.Diags.getDiagnosticLevel(DIAG, ImplLoc)== Diagnostic::Ignored)
return;
if (ND && ND->getAttr<DeprecatedAttr>()) {