]> granicus.if.org Git - clang/commit
Make __declspec(selectany) turn variable declartions into definitions.
authorNico Weber <nicolasweber@gmx.de>
Wed, 15 Apr 2015 21:50:06 +0000 (21:50 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 15 Apr 2015 21:50:06 +0000 (21:50 +0000)
commita39c64d044f8014a631ac802c8a20ddce9c57822
treec7e09c441c45f36dce1a48acdf9525f77551fe52
parentcd72ec433f4d039940a2b039a95378b6d02cfc76
Make __declspec(selectany) turn variable declartions into definitions.

Fixes PR23242.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@235046 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp
test/CodeGen/ms-declspecs.c
test/CodeGen/ms-declspecs.cpp [new file with mode: 0644]