diff options
| author | Douglas Gregor <dgregor@apple.com> | 2008-12-16 00:38:16 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2008-12-16 00:38:16 +0000 |
| commit | 29e174cc58fccdb8974223d6371f02ad6a478da2 (patch) | |
| tree | bfe69ed80c65d676b2632fcfbd52b01e3befcbc6 /clang/lib/Sema/SemaDecl.cpp | |
| parent | dd12c786a0c0e0ba6bdc4470b1d93c10c1f90517 (diff) | |
| download | bcm5719-llvm-29e174cc58fccdb8974223d6371f02ad6a478da2.tar.gz bcm5719-llvm-29e174cc58fccdb8974223d6371f02ad6a478da2.zip | |
Make name lookup when we're inside a declarator's scope, such as ClassName::func, work with the new unqualified name lookup code. Test it with default arguments in out-of-line member definitions
llvm-svn: 61060
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 1be30715e5c..5e0edcd1ecf 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -221,7 +221,7 @@ ObjCInterfaceDecl *Sema::getObjCInterfaceDecl(IdentifierInfo *Id) { Decl *Sema::LookupDecl(DeclarationName Name, unsigned NSI, Scope *S, const DeclContext *LookupCtx, bool enableLazyBuiltinCreation, - bool LookInParent) { + bool LookInParent) { if (!Name) return 0; unsigned NS = NSI; if (getLangOptions().CPlusPlus && (NS & Decl::IDNS_Ordinary)) |

