diff options
author | John McCall <rjmccall@apple.com> | 2009-11-18 07:57:50 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-18 07:57:50 +0000 |
commit | 7d384dd5ace9ae9a22a69e700d2cacb256bc6c69 (patch) | |
tree | b4941a12e43917606179bb8db65b5c3906e3b5c8 /lib/Sema/SemaTemplate.cpp | |
parent | 1c5c1a09a4a224c5c01f0a2a0d69224c8356f0be (diff) |
Split LookupResult into its own header.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | lib/Sema/SemaTemplate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index 28fa6bdaa6..466a0e37d4 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp @@ -10,6 +10,7 @@ //===----------------------------------------------------------------------===/ #include "Sema.h" +#include "Lookup.h" #include "TreeTransform.h" #include "clang/AST/ASTContext.h" #include "clang/AST/Expr.h" @@ -629,7 +630,7 @@ Sema::CheckClassTemplate(Scope *S, unsigned TagSpec, TagUseKind TUK, // Find any previous declaration with this name. DeclContext *SemanticContext; LookupResult Previous(*this, Name, NameLoc, LookupOrdinaryName, - LookupResult::ForRedeclaration); + ForRedeclaration); if (SS.isNotEmpty() && !SS.isInvalid()) { if (RequireCompleteDeclContext(SS)) return true; |