diff options
author | John McCall <rjmccall@apple.com> | 2011-10-01 09:56:14 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-10-01 09:56:14 +0000 |
commit | cdda47faab5c2c61c239491a1a091e071ed3e38e (patch) | |
tree | 83d314cf2ed731d058e03437d8cd1896fa1c076c /lib/Parse/ParseDeclCXX.cpp | |
parent | b459cf34c4df1a1317a9bda1e1e2cc32364e62cf (diff) |
Parse attributes written in an ObjC method parameter type as
attributes on the parameter declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDeclCXX.cpp')
-rw-r--r-- | lib/Parse/ParseDeclCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp index 2fd5c0059d..5d7a7729f1 100644 --- a/lib/Parse/ParseDeclCXX.cpp +++ b/lib/Parse/ParseDeclCXX.cpp @@ -519,7 +519,7 @@ Decl *Parser::ParseUsingDeclaration(unsigned Context, TypeAlias = ParseTypeName(0, TemplateInfo.Kind ? Declarator::AliasTemplateContext : - Declarator::AliasDeclContext, 0, AS, OwnedType); + Declarator::AliasDeclContext, AS, OwnedType); } else // Parse (optional) attributes (most likely GNU strong-using extension). MaybeParseGNUAttributes(attrs); |