diff options
author | John McCall <rjmccall@apple.com> | 2010-08-26 02:13:20 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-26 02:13:20 +0000 |
commit | b45a1e735ae5d4438d10aea6ff1caee9f105b3b4 (patch) | |
tree | 0a246e07187ca45d3c76c8abced17d01f132295c /clang/lib/Sema/SemaDeclAttr.cpp | |
parent | c13b797e234259c06586c0e346796eca1b6f08b1 (diff) | |
download | bcm5719-llvm-b45a1e735ae5d4438d10aea6ff1caee9f105b3b4.tar.gz bcm5719-llvm-b45a1e735ae5d4438d10aea6ff1caee9f105b3b4.zip |
Restore r112114 now that SmallVector<...,0> is safe.
llvm-svn: 112148
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclAttr.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index a2cad6a5d23..46623d28182 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -19,8 +19,10 @@ #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 @@ -2468,7 +2470,7 @@ static bool isDeclDeprecated(Decl *D) { return false; } -void Sema::HandleDelayedDeprecationCheck(Sema::DelayedDiagnostic &DD, +void Sema::HandleDelayedDeprecationCheck(DelayedDiagnostic &DD, Decl *Ctx) { if (isDeclDeprecated(Ctx)) return; |