From: Anders Carlsson Date: Sat, 28 Mar 2009 23:02:53 +0000 (+0000) Subject: Let getIdentifierNamespaceForKind know about aliases and have it treat them just... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faf0e872f3409ecafbc458eabb22be76f79cb050;p=clang 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 --- 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.