diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-02-26 21:15:54 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-02-26 21:15:54 +0000 |
commit | 5509f37aacf8a4d65f759554c9ec18adc1ac7b4e (patch) | |
tree | dbcc6dbfeedea5dc5ea4687816678a22f1b62e96 /lib/StaticAnalyzer/Core/ExplodedGraph.cpp | |
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
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExplodedGraph.cpp')
0 files changed, 0 insertions, 0 deletions