diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-09 21:40:53 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-09 21:40:53 +0000 |
commit | bcced4ec315718d9a7775620eb2743b9aea89fd2 (patch) | |
tree | fa18ab54ceebd06f7b26e501e8566e1a09480b07 /clang/lib/Sema/SemaInherit.cpp | |
parent | 32e6e8ed3b522b4ff2c41ad907b53566d6f757a7 (diff) | |
download | bcm5719-llvm-bcced4ec315718d9a7775620eb2743b9aea89fd2.tar.gz bcm5719-llvm-bcced4ec315718d9a7775620eb2743b9aea89fd2.zip |
Propagate the ASTContext to various AST traversal and lookup functions.
No functionality change (really).
llvm-svn: 68726
Diffstat (limited to 'clang/lib/Sema/SemaInherit.cpp')
-rw-r--r-- | clang/lib/Sema/SemaInherit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaInherit.cpp b/clang/lib/Sema/SemaInherit.cpp index c01430c9ee5..8239f54d68a 100644 --- a/clang/lib/Sema/SemaInherit.cpp +++ b/clang/lib/Sema/SemaInherit.cpp @@ -179,7 +179,7 @@ bool Sema::LookupInBases(CXXRecordDecl *Class, FoundPathToThisBase = (Context.getCanonicalType(BaseSpec->getType()) == Criteria.Base); } else { - Paths.ScratchPath.Decls = BaseRecord->lookup(Criteria.Name); + Paths.ScratchPath.Decls = BaseRecord->lookup(Context, Criteria.Name); while (Paths.ScratchPath.Decls.first != Paths.ScratchPath.Decls.second) { if (isAcceptableLookupResult(*Paths.ScratchPath.Decls.first, Criteria.NameKind, Criteria.IDNS)) { |