Nico Rieck
ffd8a3364c
Sema: Add more tests for dll attributes on inline functions
...
llvm-svn: 209542
2014-05-23 19:07:49 +00:00
Hans Wennborg
b0f2f146bb
Allow dllimport/dllexport on inline functions and adjust the linkage.
...
This is a step towards handling these attributes on classes (PR11170).
Differential Revision: http://reviews.llvm.org/D3772
llvm-svn: 208925
2014-05-15 22:07:49 +00:00
Nico Rieck
8ca0bfc57f
Sema: Require external linkage for dll attributes
...
llvm-svn: 205198
2014-03-31 14:56:58 +00:00
Nico Rieck
82f0b06749
Sema: Check dll attributes on redeclarations
...
A redeclaration may not add dllimport or dllexport attributes. dllexport is
sticky and can be omitted on redeclarations while dllimport cannot.
llvm-svn: 205197
2014-03-31 14:56:15 +00:00
Nico Rieck
8e9791f62c
Sema: Definition of dllimport globals is not allowed
...
Upgrades the warning to an error and clarifies the message by treating the
definition as error instead of the attribute.
llvm-svn: 202300
2014-02-26 21:27:13 +00:00
Nico Rieck
6047866232
Reorganize and improve semantic tests for dllexport/import
...
llvm-svn: 201947
2014-02-22 19:47:30 +00:00