summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-12-16 00:38:16 +0000
committerDouglas Gregor <dgregor@apple.com>2008-12-16 00:38:16 +0000
commit29e174cc58fccdb8974223d6371f02ad6a478da2 (patch)
treebfe69ed80c65d676b2632fcfbd52b01e3befcbc6 /clang/lib/Sema/SemaDecl.cpp
parentdd12c786a0c0e0ba6bdc4470b1d93c10c1f90517 (diff)
downloadbcm5719-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.cpp2
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))
OpenPOWER on IntegriCloud