diff options
author | Anders Carlsson <andersca@mac.com> | 2009-03-28 23:02:53 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-03-28 23:02:53 +0000 |
commit | faf0e872f3409ecafbc458eabb22be76f79cb050 (patch) | |
tree | 4203e591a586f2042248fe997d0084e8d3ee42fe /lib/AST/DeclBase.cpp | |
parent | 68771c73f4293620dc1a99154ec02111e6490e28 (diff) |
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
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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. |