-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"extension:microsoft
Description
My low-level library makes heavy use of __declspec(novtable)
attribute in the MSVC mode and it significantly reduces the size of binaries by removing the unneeded vftables. This attribute also allows the compiler to not to insert vftable assignments on constructors and destructors, as they are reassigned anyway in my library. Clang already implements __declspec(novtable)
in MSVC driver mode and it would be great to have this attribute available in both GNU and MSVC modes, for example as in form of the C++11-compatible attribute syntax [[clang::novtable]]
.
Thanks!
Metadata
Metadata
Assignees
Labels
clang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl''clang' and 'clang++' user-facing binaries. Not 'clang-cl'clang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"extension:microsoft