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/ParseDecl.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/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index e9d3185b9a..0e4fee3086 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -33,12 +33,10 @@ using namespace clang; /// Called type-id in C++. TypeResult Parser::ParseTypeName(SourceRange *Range, Declarator::TheContext Context, - ObjCDeclSpec *objcQuals, AccessSpecifier AS, Decl **OwnedType) { // Parse the common declaration-specifiers piece. DeclSpec DS(AttrFactory); - DS.setObjCQualifiers(objcQuals); ParseSpecifierQualifierList(DS, AS); if (OwnedType) *OwnedType = DS.isTypeSpecOwned() ? DS.getRepAsDecl() : 0; |