]> granicus.if.org Git - clang/commit
Variables marked as "extern" can actually have internal linkage if
authorDouglas Gregor <dgregor@apple.com>
Thu, 19 Mar 2009 22:01:50 +0000 (22:01 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 19 Mar 2009 22:01:50 +0000 (22:01 +0000)
commit5ef122e9449a86e4a6466ea07ed7f5ba5f6a48bc
tree51f52a88c4a0b56becf84b86b9ad83a6188f8df3
parentc505d4f1568796f29ec9f1c57d861b54a088da1f
Variables marked as "extern" can actually have internal linkage if
there is a previous declaration marked "static". This fixes PR3645.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67336 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/Sema/SemaDecl.cpp
test/Sema/tentative-decls.c
test/Sema/var-redecl.c