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
2 files changed
tree: bf8837691c62e7507ce98902b6cd3cd21856255d
  1. clang/
  2. compiler-rt/
  3. llvm/