diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-26 00:52:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-26 00:52:50 +0000 |
commit | 0ad106fec9dd188e20026c80d814f836e15780e3 (patch) | |
tree | bf85e1890c6bdff9a49244758ca5baa55f84d495 /lib/Sema/SemaDeclAttr.cpp | |
parent | e84f9ebf8c89d5600f5930b65a0df0de890791b2 (diff) |
Revert r112114, "Pull DelayedDiagnostic and AccessedEntity out into their own
header.", it is teh broken.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 46623d2818..a2cad6a5d2 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -19,10 +19,8 @@ #include "clang/AST/Expr.h" #include "clang/Basic/TargetInfo.h" #include "clang/Sema/DeclSpec.h" -#include "clang/Sema/DelayedDiagnostic.h" #include "llvm/ADT/StringExtras.h" using namespace clang; -using namespace sema; //===----------------------------------------------------------------------===// // Helper functions @@ -2470,7 +2468,7 @@ static bool isDeclDeprecated(Decl *D) { return false; } -void Sema::HandleDelayedDeprecationCheck(DelayedDiagnostic &DD, +void Sema::HandleDelayedDeprecationCheck(Sema::DelayedDiagnostic &DD, Decl *Ctx) { if (isDeclDeprecated(Ctx)) return; |