Handle all attributes on a parameter

llvm-svn: 50903
This commit is contained in:
Nate Begeman 2008-05-09 16:56:01 +00:00
parent a4ee1f516f
commit 1d30431002
1 changed files with 2 additions and 1 deletions

View File

@ -1177,7 +1177,8 @@ Sema::ActOnParamDeclarator(Scope *S, Declarator &D) {
if (II)
PushOnScopeChains(New, S);
HandleDeclAttributes(New, D.getAttributes(), 0);
HandleDeclAttributes(New, D.getDeclSpec().getAttributes(),
D.getAttributes());
return New;
}