Implement rdar://6756623 - use of deprecated type in deprecated typedef should not warn
llvm-svn: 85073
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index cb840ef..fa10dea 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1583,7 +1583,8 @@
//===--------------------------------------------------------------------===//
// Expression Parsing Callbacks: SemaExpr.cpp.
- bool DiagnoseUseOfDecl(NamedDecl *D, SourceLocation Loc);
+ bool DiagnoseUseOfDecl(NamedDecl *D, SourceLocation Loc,
+ bool IgnoreDeprecated = false);
bool DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *PD,
ObjCMethodDecl *Getter,
SourceLocation Loc);