summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDeclCXX.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-01 09:56:14 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-01 09:56:14 +0000
commita55902bf98a4a0b5929ddd80c4ed8fffb2eb2af3 (patch)
treef9c3d5556ff3180eb4d5b4c24130886c14203e06 /clang/lib/Parse/ParseDeclCXX.cpp
parent4a4772fae267b4d0c7273bf6f30605f4ece645c8 (diff)
downloadbcm5719-llvm-a55902bf98a4a0b5929ddd80c4ed8fffb2eb2af3.tar.gz
bcm5719-llvm-a55902bf98a4a0b5929ddd80c4ed8fffb2eb2af3.zip
Parse attributes written in an ObjC method parameter type as
attributes on the parameter declaration. llvm-svn: 140944
Diffstat (limited to 'clang/lib/Parse/ParseDeclCXX.cpp')
-rw-r--r--clang/lib/Parse/ParseDeclCXX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp
index 2fd5c0059dc..5d7a7729f18 100644
--- a/clang/lib/Parse/ParseDeclCXX.cpp
+++ b/clang/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);
OpenPOWER on IntegriCloud