Currently, we prohibit this pragma from appearing within a language linkage specification, but this is useful functionality that is supported by MSVC (which is where we inherited this feature from). This patch allows you to use the pragma within an extern "C" {} (etc) block.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Weird, phab didn't let me save the comment on the last one... done the right way this time :)
clang/docs/LanguageExtensions.rst | ||
---|---|---|
3549 |
Comment Actions
There's no public bug to close from this, but it came as an internal (to Intel) report from a user.
Thank you for the reviews! I made the documentation change and pushed in b0ef3d8f666fa6008abb09340b73d9340d442569.