]> granicus.if.org Git - clang/commitdiff
Revert my previous change, got stupidly confused with my local changes.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 14 Oct 2008 18:28:48 +0000 (18:28 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 14 Oct 2008 18:28:48 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclCXX.cpp

index d5e1d5ed7becc291a96151ac956335371d2982a7..2fae627ea6ac9dc9b23917584901148661c3de46 100644 (file)
@@ -510,7 +510,7 @@ Sema::DeclTy *Sema::ActOnStartNamespaceDef(Scope *NamespcScope,
     // in that declarative region, it is treated as an original-namespace-name.
 
     Decl *PrevDecl =
-        LookupDecl(II, Decl::IDNS_Tag | Decl::IDNS_Ordinary, DeclRegionScope, 0,
+        LookupDecl(II, Decl::IDNS_Tag | Decl::IDNS_Ordinary, DeclRegionScope,
                    /*enableLazyBuiltinCreation=*/false);
 
     if (PrevDecl && isDeclInScope(PrevDecl, CurContext, DeclRegionScope)) {