commit | c5b66688ab50d87a01cc1e2a48ee291e1ccc95a0 | [log] [tgz] |
---|---|---|
author | Nate Begeman <natebegeman@mac.com> | Fri May 09 16:56:01 2008 +0000 |
committer | Nate Begeman <natebegeman@mac.com> | Fri May 09 16:56:01 2008 +0000 |
tree | 360250986adb721d05bfcb07708271a1dc4dffd3 | |
parent | c8e51f89effc4003fc54aa4dc5a34127e793c7f4 [diff] [blame] |
Handle all attributes on a parameter git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50903 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 9a7d692..748b66f 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp
@@ -1177,7 +1177,8 @@ if (II) PushOnScopeChains(New, S); - HandleDeclAttributes(New, D.getAttributes(), 0); + HandleDeclAttributes(New, D.getDeclSpec().getAttributes(), + D.getAttributes()); return New; }