From faf0e872f3409ecafbc458eabb22be76f79cb050 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sat, 28 Mar 2009 23:02:53 +0000 Subject: [PATCH] Let getIdentifierNamespaceForKind know about aliases and have it treat them just like namespace decls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67963 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/DeclBase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 634c86e361..bc7ac569fc 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -190,6 +190,7 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case FunctionTemplate: case ClassTemplate: case TemplateTemplateParm: + case NamespaceAlias: return IDNS_Tag | IDNS_Ordinary; // Never have names. -- 2.40.0