[PATCH] D18953: [ms][dll] #26935 Defining a dllimport function should cause it to be exported
Andrew V. Tischenko via cfe-commits
cfe-commits at lists.llvm.org
Tue May 24 07:35:38 PDT 2016
avt77 updated this revision to Diff 58233.
avt77 added a comment.
I built the project from scratch and found an issue in Clang build system. There was a problem with undefined DiagGroup in DiagnosticSemaKinds.td: the error message was generated but all executables were created that's why I was not aware about this issue (I missed the message at the time of my first build and all next re-builds worked without any problems). I created a new warning group (MicrosoftInconsistentDllImport) in DiagnosticGroups.td and made the corresponding changes in DiagnosticSemaKinds.td (2 lines).
Sorry for inconvenience but review the above two files and confirm your LGTM if it is.
And I suppose I should create a new record in Bugzilla, right?
http://reviews.llvm.org/D18953
Files:
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/CodeGen/dllimport.c
test/CodeGenCXX/dllimport-members.cpp
test/CodeGenCXX/dllimport.cpp
test/Sema/dllimport.c
test/SemaCXX/dllimport.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18953.58233.patch
Type: text/x-patch
Size: 45061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160524/cc6d91e5/attachment-0001.bin>
More information about the cfe-commits
mailing list