]> granicus.if.org Git - clang/commit
Don't replace an existing decl in the scope chains with its
authorJohn McCall <rjmccall@apple.com>
Sat, 13 Apr 2013 00:20:21 +0000 (00:20 +0000)
committerJohn McCall <rjmccall@apple.com>
Sat, 13 Apr 2013 00:20:21 +0000 (00:20 +0000)
commit927b0af2f0834bad37e3d2a1953804b0845d8711
treeefcad78c36474cbb5b3ec7fd841f029dc0f20d19
parentdd9bd3ba42ecc3c91ba36f194b993a99371ab825
Don't replace an existing decl in the scope chains with its
local-extern redeclaration;  type refinements, default arguments,
etc. must all be locally scoped.

rdar://13535367

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179430 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Sema/extern-redecl.c
test/Sema/function-redecl.c
test/Sema/var-redecl.c