diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-22 14:36:26 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-22 14:36:26 +0000 |
commit | 66dd9394994654b5af2c62ed24f311432bacede5 (patch) | |
tree | f29812b6e320315bed17540c5dcf608051c4956d /lib/Basic/Targets.cpp | |
parent | 050b78acf11900cb8c47563376200a1d7bd97f59 (diff) |
When checking whether to diagnose an initialized "extern" variable,
look for the const on the base type rather than on the top-level
type. Fixes PR6495 properly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions