summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-02-26 21:15:54 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-02-26 21:15:54 +0000
commit7d36c017471bfff2b85caf700f46ae16a24b3159 (patch)
tree1f5dba0425a24a8b5e57de0734010439510070cb /clang/lib/Sema/SemaDecl.cpp
parent522219583145da5695836c7832430405aba9cb38 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud