commit | 66dd9394994654b5af2c62ed24f311432bacede5 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Apr 22 14:36:26 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Apr 22 14:36:26 2010 +0000 |
tree | f29812b6e320315bed17540c5dcf608051c4956d | |
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