[cfe-commits] r67963 - /cfe/trunk/lib/AST/DeclBase.cpp

Anders Carlsson andersca at mac.com
Sat Mar 28 16:02:54 PDT 2009


Author: andersca
Date: Sat Mar 28 18:02:53 2009
New Revision: 67963

URL: http://llvm.org/viewvc/llvm-project?rev=67963&view=rev
Log:
Let getIdentifierNamespaceForKind know about aliases and have it treat them just like namespace decls.

Modified:
    cfe/trunk/lib/AST/DeclBase.cpp

Modified: cfe/trunk/lib/AST/DeclBase.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclBase.cpp?rev=67963&r1=67962&r2=67963&view=diff

==============================================================================
--- cfe/trunk/lib/AST/DeclBase.cpp (original)
+++ cfe/trunk/lib/AST/DeclBase.cpp Sat Mar 28 18:02:53 2009
@@ -190,6 +190,7 @@
     case FunctionTemplate:
     case ClassTemplate:
     case TemplateTemplateParm:
+    case NamespaceAlias:
       return IDNS_Tag | IDNS_Ordinary;
     
     // Never have names.





More information about the cfe-commits mailing list