[PATCH] D135154: Keep inherited dllimport/export attrs for explicit specialization of template class member functions

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 11:44:37 PDT 2022


thakis accepted this revision.
thakis added a comment.
This revision is now accepted and ready to land.

lg



================
Comment at: clang/lib/Sema/SemaDecl.cpp:7047
+            NewDecl->getLocation(),
+            diag::err_attribute_dllimport_function_specialization_definition);
+        S.Diag(OldImportAttr->getLocation(), diag::note_attribute);
----------------
Here's hoping this doesn't break any actual codeā€¦


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135154/new/

https://reviews.llvm.org/D135154



More information about the cfe-commits mailing list