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

    <tr>
        <th>Summary</th>
        <td>
            [clangd] Completion key ArgumentLists doesn't take precedence over --function-arg-placeholders
        </td>
    </tr>

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

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

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

<pre>
    Thank you Clangd team for this incredible piece of software.

It seems that ArgumentLists should take precedence over --function-arg-placeholders as suggested in:
[https://github.com/llvm/llvm-project/issues/63565#issuecomment-1975065771](https://github.com/llvm/llvm-project/issues/63565#issuecomment-1975065771)

ArgumentLists does not take precedence at the moment.

I was using ArgumentLists : "None" with --function-arg-placeholders=0, and function parenthesis generated. Removing --function-arg-placeholders=0 fixes this issue

### Expected behaviour:
 ArgumentLists: "None" used with --function-arg-placeholders=0 prioritises ArgumentLists:"None"

clangd version 21.0.0git (https://github.com/llvm/llvm-project.git 2206e15e78bc3d5289fb2c2cf5a80d6f08412a58)
Features: mac+debug+xpc
Platform: arm64-apple-darwin24.4.0

Would be great to know if this is intended behaviour or a bug. I will attempt to fix this if it is not intended behaviour.

Thanks! :)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0VF2L6zYQ_TXKyxAjjz9iP_ghu9vAhVJKKfRZlka2urJkJDnZ_ffFdpbbewPdtnAhEGxrjuacOXNEjGZwRB2rnlj1chBLGn3okndDHMkNt0Pv1Xv3-yjcK7z7BZ6tcIOCRGIC7QOk0UQwTgZSprcEsyFJ4DVEr9NNBMoYPzN-_pIgEk0R0igSnMOwTOTSzyamCHH0i1WQxCvBHEiSIreCXCnA8agXJ5Px7ijCcJytkDR6qyhEEBHiMgwUEykwjhXrRax6GlOa4_qEF4aXwaRx6TPpJ4YXa68ff8c5-D9JJoYXE-NCkeGlLqq6YlhsL6Sf1h6PeXuqeF2dTjmrXhg2Pw4e212sb-VRniI4nx4EEgnSSDD59eyHznATEZZo3PCdyqw4A0P8xTtiiHAzafwndVnxwhk-g3AKPg7BLAK5NFI0EQZyFEQilcFvNPnreuMneKDNG8W7Z1YN9p4ZFvsPfnqbSa7T7GkUV-OXsA_1WyrfMVkiqX9FB-ZgfDDJRIoPiF8B96bkbvQrhbgyxzzjGR9Mgv_sgGytQuQ15RWdml4WqsKm1T1KlLoSDVe15k2Zo6ia3QMXEmkJtDGdhGT4pKhfBoZPb7Nk_PyrFUn7MK3fRZjq8ijm2dJRiXAzDsuszPhO449ttXqCIdDqFw-vzt_A6I8pgHGJnPq75uADCOiXIYMvcDPWgkiJpnkr1-btXqrBpBVgteYjyN2PW3JEhjlserUH1RWqLVpxoC4_leWpKZqyOIxdTm2fN0Vb81a3ErXoi4rnWDStkD3p-mA65FjxMq95nfOyyKqqrLXqTxprgUJLVnKahLHZKn7mw3DYPNblRdXm7cGKnmzcgg7R0e3uQMQ190K3TaxfhshKbldPfIVJJtktIXdPsOoFnv00W9p24pXe4XFhHcPT48Z-FmmHJdju_-fLnem1w78CAAD__8nv8Fg">