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 | 5cebab12d5f555d4c5c298f13ea4a2ff57a7b386 (patch) | |
tree | 3882edf8b07a3184947217cec43326bc4b211998 /clang/lib/Sema/SemaTemplate.cpp | |
parent | 41ee79283284cea589505bb5b5489bc91ab5ac1b (diff) | |
download | bcm5719-llvm-5cebab12d5f555d4c5c298f13ea4a2ff57a7b386.tar.gz bcm5719-llvm-5cebab12d5f555d4c5c298f13ea4a2ff57a7b386.zip |
Split LookupResult into its own header.
llvm-svn: 89199
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | clang/lib/Sema/SemaTemplate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp index 28fa6bdaa6e..466a0e37d49 100644 --- a/clang/lib/Sema/SemaTemplate.cpp +++ b/clang/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; |