[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
Tue Dec 7 08:11:08 PST 2021
hans created this revision.
hans added a reviewer: rnk.
Herald added a reviewer: aaron.ballman.
hans requested review of this revision.
Herald added a project: clang.
Repository:
rG LLVM Github Monorepo
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.392412.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211207/7de071a7/attachment.bin>
More information about the cfe-commits
mailing list