Place the cursor on a function definition in the code editor to see lists of functions that call it and the functions it calls. This works recursively, so you can also see the caller of the caller. However, Clangd only lists incoming calls.
Select the button on the editor toolbar, and then select Restart to collect call hierarchy information for the function.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.