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 | 7d36c017471bfff2b85caf700f46ae16a24b3159 (patch) | |
| tree | 1f5dba0425a24a8b5e57de0734010439510070cb /clang/lib/Sema/SemaDecl.cpp | |
| parent | 522219583145da5695836c7832430405aba9cb38 (diff) | |
| download | bcm5719-llvm-7d36c017471bfff2b85caf700f46ae16a24b3159.tar.gz bcm5719-llvm-7d36c017471bfff2b85caf700f46ae16a24b3159.zip | |
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.
llvm-svn: 176121
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions

