aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-14 18:28:48 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-14 18:28:48 +0000
commit154d8e2280b82dbffea2565dec5b22cebb4ba7a9 (patch)
treeae1916d747f6510ff1abe55c69d49ef95a1841ca
parentbe6e3101e79abb65e1d9016565a39eaa36084ce9 (diff)
Revert my previous change, got stupidly confused with my local changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57514 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Sema/SemaDeclCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclCXX.cpp b/lib/Sema/SemaDeclCXX.cpp
index d5e1d5ed7b..2fae627ea6 100644
--- a/lib/Sema/SemaDeclCXX.cpp
+++ b/lib/Sema/SemaDeclCXX.cpp
@@ -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)) {