зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
be6e3101e7
Коммит
154d8e2280
|
@ -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)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче