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
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/AST/ASTContext.cpp 33 additions, 5 deletionslib/AST/ASTContext.cpp
- lib/AST/Decl.cpp 1 addition, 1 deletionlib/AST/Decl.cpp
- lib/CodeGen/CodeGenModule.cpp 3 additions, 12 deletionslib/CodeGen/CodeGenModule.cpp
- lib/Sema/SemaDecl.cpp 6 additions, 14 deletionslib/Sema/SemaDecl.cpp
- lib/Sema/SemaDeclAttr.cpp 0 additions, 15 deletionslib/Sema/SemaDeclAttr.cpp
- test/CodeGen/dllexport.c 8 additions, 0 deletionstest/CodeGen/dllexport.c
- test/CodeGenCXX/dllexport.cpp 25 additions, 0 deletionstest/CodeGenCXX/dllexport.cpp
- test/CodeGenCXX/dllimport.cpp 25 additions, 0 deletionstest/CodeGenCXX/dllimport.cpp
- test/Sema/dllexport.c 2 additions, 2 deletionstest/Sema/dllexport.c
- test/Sema/dllimport.c 3 additions, 3 deletionstest/Sema/dllimport.c
- test/SemaCXX/MicrosoftExtensions.cpp 1 addition, 1 deletiontest/SemaCXX/MicrosoftExtensions.cpp
- test/SemaCXX/dllexport.cpp 5 additions, 5 deletionstest/SemaCXX/dllexport.cpp
- test/SemaCXX/dllimport.cpp 7 additions, 7 deletionstest/SemaCXX/dllimport.cpp
Loading
Please register or sign in to comment