]> granicus.if.org Git - clang/commit
llvm-gcc treats a tentative definition with a previous
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 20 Jun 2011 17:50:03 +0000 (17:50 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 20 Jun 2011 17:50:03 +0000 (17:50 +0000)
commitab27d6ea7b4ce2762a16905281de796db32bb6f2
tree2d9752b470843ef1b270db7d85fbb9a37ae69414
parent6fe6bac2ad79dee2fb2077c8959b1bf8679fe1b7
llvm-gcc treats a tentative definition with a previous
(or follow up) extern declaration with weak_import as
an actual definition. make clang follows this behavior.
// rdar://9538608
llvm-gcc treats an extern declaration with weak_import

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/Sema/SemaDecl.cpp
test/CodeGen/attr-weak-import.c [new file with mode: 0644]