commit | 5509f37aacf8a4d65f759554c9ec18adc1ac7b4e | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Feb 26 21:15:54 2013 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Feb 26 21:15:54 2013 +0000 |
tree | dbcc6dbfeedea5dc5ea4687816678a22f1b62e96 | |
parent | 58c79037256c77ffdbaa0da12205777e239fe096 [diff] |
Fix initializer for variables with attribute address_space set. This would error in C++ mode unless the variable also had a cv qualifier. e.g. __attribute__((address_space(2))) float foo = 1.0f; would error but __attribute__((address_space(2))) const float foo = 1.0f; would not. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176121 91177308-0d34-0410-b5e6-96231b3b80d8