]> granicus.if.org Git - clang/commitdiff
Let getIdentifierNamespaceForKind know about aliases and have it treat them just...
authorAnders Carlsson <andersca@mac.com>
Sat, 28 Mar 2009 23:02:53 +0000 (23:02 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 28 Mar 2009 23:02:53 +0000 (23:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67963 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/DeclBase.cpp

index 634c86e361db07e19d0fb5aeb7904b4335423cfc..bc7ac569fc01ac87aa36e9e394984e0289b59260 100644 (file)
@@ -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.