Fix the diagnostic when we are shadowing an external variable and there exists a...
commit444e8412950ee28cafb4d32a8c8598c81a98d6da
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:50 +0000 (31 07:04 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Mon, 31 Jan 2011 07:04:50 +0000 (31 07:04 +0000)
treef0d4b10de2d5379aac782852fc63f373cc25a8a3
parentb2204f242a9622b24ca0136d46c17422ac65dd5e
Fix the diagnostic when we are shadowing an external variable and there exists a locally scoped extern with the same name.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124580 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Sema/warn-shadow.c