<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59511>59511</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-cl] implement support for [[msvc::intrinsic]]
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          nico
      </td>
    </tr>
</table>

<pre>
    See https://devblogs.microsoft.com/cppblog/improving-the-state-of-debug-performance-in-c/

"""
The new attribute will semantically replace a function call with a cast to that function’s return type if the function definition is decorated with [[msvc::intrinsic]]. You can see how we applied this new attribute in the STL: [GH3182](https://github.com/microsoft/STL/pull/3182). The reason the compiler decided to go down the attribute route is that we want to eventually extend the scenarios it can cover and offer a data-driven approach to selectively decorate code with the new functionality. The latter is important for users of MSVC as well.
"""
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEk0GvqzYQhX-N2YyIwIQkLFjc1zTtol3dp0pdGnuAqYyN7CE0_76yk96r3kWfFAWjYY7P-TxWMdLkEHvRfhPttVAbzz70jrQvBm8e_TsizMxrFM2bkDchbwbvg_VTPCykg49-5IP2i5A3va6pIOSNljX4O7mp5BnLyIqx9GNpcNimcsUw-rAop7EkV-qkWl1F9fb6l_L1y6_fZwSHOyjmQMPGCDtZCxEX5Zi0svYBAVerNIKCcXOayTtIBdiJZ1CgVWRgDzwr_vhC_CzFpRJdFyEgb8EBP1YEGoFn_NQxOJKjvKQIBrUPitE8pTOzb0u86wSneSPHgVwkLdqraK8H-NNvoJWDmCD6HXYEta6W0ADPFL8EI5f3fv_-m2jekvgvvzb1RSYxefnvGUzE8za8uH-cg5C31Cxv62atkLfcLbsDJIgBVfTPHbRfVrIYUh4yyYyHyYPx-7P-aSn4bCw-2e0Iu3KZJd7R8Zbp49-MzuTGqNGpQD4CcQ6u_R0DKGfAj2NagVGsShPoji6xCF7pOQlGtKiZ7mgfH5hBe4NP1Pwag38PRlnixzOYVcwYkklaVh84ORx9gC1iiOBH-P39j59ARdjR2sOXIStM35iu6VSBfX06V93lWMlTMfeNOZ5PZqzOTXPCczNUEtVplMOxbutOXdqCellJWcv6WMm6OZ4OuhkHjZ05nodOKnkRxwoXRfZg7X05-DAVFOOGfdu1dV1YNaCN-dpJmZLlYjLVXovQp55y2KYojpWlyPFThYltvq_aKjeV2or2mqJbXNAxxG1NFDKCHwxosQXb_89gpS1fj3IN_i_UacSy0SjkLQf5JwAA___kBmvs">