[cfe-commits] [PATCH] Improve handling of DLL import/export attributes

João Matos reviews at llvm-reviews.chandlerc.com
Sun Sep 2 09:40:16 PDT 2012


Attached patch improvides the handling of MS DLL import/export attributes. It adds a lot of new warnings and test cases for currently unhandled cases, fixes DLL imported libraries being considered as a definition instead of declaration, and adds support for whole-class attributes.


Related bugs that should be fixed when this lands:

PR13450 http://llvm.org/bugs/show_bug.cgi?id=13450
PR11170 http://llvm.org/bugs/show_bug.cgi?id=11170

http://llvm-reviews.chandlerc.com/D34

Files:
  include/clang/AST/DeclCXX.h
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/AST/Decl.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/TargetAttributesSema.cpp
  test/Rewriter/dllimport-typedef.c
  test/Sema/dllimport-dllexport.c
  test/Sema/dllimport-dllexport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34.1.patch
Type: text/x-patch
Size: 20263 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120902/5ec05b9b/attachment.bin>


More information about the cfe-commits mailing list