]> granicus.if.org Git - clang/commit
If a global var decl has an initializer, make sure to always set its linkage to external.
authorAnders Carlsson <andersca@mac.com>
Wed, 3 Dec 2008 05:51:23 +0000 (05:51 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 3 Dec 2008 05:51:23 +0000 (05:51 +0000)
commit98883e1e699457697fb8d5ac6d175dd3ee078774
tree24747289a06ec63976544d70fd315345500250cb
parent6183e4815a4019e97ad01bd880f12355599b75fd
If a global var decl has an initializer, make sure to always set its linkage to external.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60462 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGen/global-init.c [new file with mode: 0644]