呼び出し階層を表示する

Call Hierarchy 」ビューを使用すると、言語サーバーからの関数呼び出しおよび言語サーバーへの関数呼び出しを確認できます。

コードエディタで関数の定義にカーソルを合わせると、その関数を呼び出す関数と、その関数が呼び出す関数のリストが表示されます。これは再帰的に機能するため、呼び出し元の呼び出し元も確認できます。ただし、Clangd は着信呼び出しのみを一覧表示します。

エディタのツールバーで「言語」クライアントメニュー 」を選択し、次に「Restart 」を選択すると、その関数の呼び出し階層情報が収集されます。

「コール階層」ビュー

言語サーバーの管理も参照してください

Copyright © The Qt Company Ltd. and other contributors. 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.