]> granicus.if.org Git - clang/commit
Allow dllimport/dllexport on inline functions and adjust the linkage.
authorHans Wennborg <hans@hanshq.net>
Thu, 15 May 2014 22:07:49 +0000 (22:07 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 15 May 2014 22:07:49 +0000 (22:07 +0000)
commit61e1f5cc721b67ea42d962024ebd0d323f7a7f93
tree24086ba26bc292700e9d89764608fd18f8056cbb
parentb4415008e09aab84dd503ff0312589ee569522c3
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208925 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ASTContext.cpp
lib/AST/Decl.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/dllexport.c [new file with mode: 0644]
test/CodeGenCXX/dllexport.cpp [new file with mode: 0644]
test/CodeGenCXX/dllimport.cpp [new file with mode: 0644]
test/Sema/dllexport.c
test/Sema/dllimport.c
test/SemaCXX/MicrosoftExtensions.cpp
test/SemaCXX/dllexport.cpp
test/SemaCXX/dllimport.cpp