Fix failing test.

llvm-svn: 74268
This commit is contained in:
Anders Carlsson 2009-06-26 05:14:36 +00:00
parent 3d0fc146f9
commit 288dcd1158
1 changed files with 3 additions and 1 deletions

View File

@ -394,7 +394,9 @@ Sema::LookupResult::CreateLookupResult(ASTContext &Context,
if (ObjCCompatibleAliasDecl *Alias
= dyn_cast_or_null<ObjCCompatibleAliasDecl>(D))
D = Alias->getClassInterface();
if (UsingDecl *UD = dyn_cast_or_null<UsingDecl>(D))
D = UD->getTargetDecl();
Result.StoredKind = SingleDecl;
Result.First = reinterpret_cast<uintptr_t>(D);
Result.Last = 0;