diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-05-30 06:48:27 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-05-30 06:48:27 +0000 |
| commit | 182319375a2cec35cdc2922e99549064ef2e52c1 (patch) | |
| tree | 7f80d0e72c68ee254462ccc0c1d840413d040568 /clang/lib/AST/DeclCXX.cpp | |
| parent | 17304245165e4172478ccdaab989184629645fec (diff) | |
| download | bcm5719-llvm-182319375a2cec35cdc2922e99549064ef2e52c1.tar.gz bcm5719-llvm-182319375a2cec35cdc2922e99549064ef2e52c1.zip | |
Pretty printing and improved representation for namespace alias declarations
llvm-svn: 72616
Diffstat (limited to 'clang/lib/AST/DeclCXX.cpp')
| -rw-r--r-- | clang/lib/AST/DeclCXX.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclCXX.cpp b/clang/lib/AST/DeclCXX.cpp index 5fb2a016b64..6354d84784e 100644 --- a/clang/lib/AST/DeclCXX.cpp +++ b/clang/lib/AST/DeclCXX.cpp @@ -415,10 +415,12 @@ NamespaceAliasDecl *NamespaceAliasDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, SourceLocation AliasLoc, IdentifierInfo *Alias, + SourceRange QualifierRange, + NestedNameSpecifier *Qualifier, SourceLocation IdentLoc, NamedDecl *Namespace) { - return new (C) NamespaceAliasDecl(DC, L, AliasLoc, Alias, IdentLoc, - Namespace); + return new (C) NamespaceAliasDecl(DC, L, AliasLoc, Alias, QualifierRange, + Qualifier, IdentLoc, Namespace); } StaticAssertDecl *StaticAssertDecl::Create(ASTContext &C, DeclContext *DC, |

