commit | fceea36501a441a3bf829fc83967f53fd82edfb8 | [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 | bf8837691c62e7507ce98902b6cd3cd21856255d | |
parent | 73519609d42f9939bbeded919d8b6fbf3b87bc7f [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. llvm-svn: 102066