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

    <tr>
        <th>Summary</th>
        <td>
            [Clang Tidy]: Type(Value)  is treated as C style casting which is definitely wrong
        </td>
    </tr>

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

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

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

<pre>
    On line 339, `FullObjectSlot(&object_)` is treated as C-style casting.
On line 338, I changed the `Object(object_)` to `Object{object_}`, the warning disappeared

![image](https://github.com/llvm/llvm-project/assets/15936231/073285ac-0434-44f0-9f98-f088ba16bea8)



And I found the [rule](https://google.github.io/styleguide/cppguide.html#Casting:~:text=You%20may%20use%20cast%20formats%20like%20T(x)%20only%20when%20T%20is%20a%20class%20type), they explicitly allowed this
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU8tu7DYM_Rp6I8xAovxceDEPuMgqCBoU6KqgLY2tVmMZltyJN_32wnKCJBd3czemCJqHPCQPeW_6UesasjNk14SWMLi5vvz2cnpJWqfW-nlk1oyaSVkBXhjkvFmsfW7_1l343boAWALmLvp_AVaQc2Y8C7OmoBUjzy4HH1arWUc-mLE_Ar8CP33ilhvuE-sGGnutWBj0VmWvAFh-hw7uS7A4fwSLK-R8w9myHzSPZuyZMp6mSdOs1V7z_YsCsrO5U68huwKWQwiTB3kCbACb3oRhaY-duwM21v77YQ7T7PaWGvJeBw_YiKySOUoB2PBCYplRd-CpTA9peuOH6laVhxsvy5ZE3moqNw5fG_nyPY2KPbGbW8b3CWTnebE_b9C53urje5_GATZxwP1ilAZsummKz-MQ7hZQXva5gzz9B_IU9FsAef3TLYAZ8jut0S5eR7stKT5ubr7TRjJDbs0_e_QVsHzbWGyOG-2e-xj0-BHOkJs9iXY8S373wzrpmBqXtDL9NlnTmWBXRta6R1y98YmqpapkRYmuRV5WQooUMRlqlcmsSyktbpUQKRWUE1WUkuRKZLqlxNTIUfJCIJeCozgqUUgthSrKosuFyiDl-k7GHrd1Ht3cJ8b7Rde5LJEnllptfRQC4qgfLAYBcdPFXMcTaJfeQ8qt8cF_ogQTbFTQxdLYs1ej1m1v8sReI-fyD7IbUsV-VAb7pgz2GEw3bP8ofTOjCdqu7DG7sU-W2da_fKaRwHamkeD_AQAA__-PUTNl">