]> granicus.if.org Git - clang/commit
Fixes a corner case bug whereby declaring and defining an extern variable in a
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 21 Jun 2010 16:08:37 +0000 (16:08 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 21 Jun 2010 16:08:37 +0000 (16:08 +0000)
commit2bf6d7b1f7406ca4dfe841d4f6ef4b91dce195e4
tree60117f53e947058fb15d7d4dc7a4616f27d55e02
parent5bf1bdc2fedb0c29b5fcdb4abc852aa85b4fe26a
Fixes a corner case bug whereby declaring and defining an extern variable in a
particular sequence causes its definition to not be generated in the object file.
(fixes radar 8071804).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106424 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
lib/Sema/SemaDecl.cpp
test/CodeGenCXX/internal-linkage.cpp
test/Sema/var-redecl.c