[PATCH] D115252: Add note about inlining dllimport functions to the attribute docs
Hans Wennborg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 8 02:19:01 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0a54c325beff: Add note about inlining dllimport functions to the attribute docs (authored by hans).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115252/new/
https://reviews.llvm.org/D115252
Files:
clang/include/clang/Basic/AttrDocs.td
Index: clang/include/clang/Basic/AttrDocs.td
===================================================================
--- clang/include/clang/Basic/AttrDocs.td
+++ clang/include/clang/Basic/AttrDocs.td
@@ -187,6 +187,10 @@
are imported from external modules. See the dllimport_ documentation on MSDN
for more information.
+Note that a dllimport function may still be inlined, if its definition is
+available and it doesn't reference any non-dllimport functions or global
+variables.
+
.. _dllimport: https://msdn.microsoft.com/en-us/library/3y1sfaz2.aspx
}];
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115252.392689.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211208/2dac7d9d/attachment.bin>
More information about the cfe-commits
mailing list