]> granicus.if.org Git - clang/commit
Don't dllexport inline methods when targeting MinGW.
authorHans Wennborg <hans@hanshq.net>
Thu, 19 Feb 2015 22:39:24 +0000 (22:39 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 19 Feb 2015 22:39:24 +0000 (22:39 +0000)
commit99fa97a8b987febf298007b27e42f8a1d1549822
treef6dc854eeccf4a061236b4102124082e431027dd
parenta53dd09cce30ae5c732ea37efbb1400923b04d70
Don't dllexport inline methods when targeting MinGW.

MinGW neither imports nor exports such methods. The import bit was
committed earlier, in r221154, and this takes care of the export part.

This also partially fixes PR22591.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229922 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/dllexport.cpp
test/CodeGenCXX/dllimport.cpp
test/SemaCXX/dllexport-pr22591.cpp [new file with mode: 0644]