Clang ツールの設定を指定する

現在のプロジェクトで Clang-Tidy および Clazy のチェックを実行するように設定するには:

  1. Projects 」>「Project Settings 」>「Clang Tools 」に移動します。

    Clang Tools のカスタマイズ設定

  2. Use global settings 」のチェックを外します。
  3. プロジェクトの設定を行います。
  4. Suppressed diagnostics 」では、プロジェクトの抑制リストを表示し、そこから診断項目を削除することができます。

グローバル設定を復元するには、[Restore Global Settings] を選択します。グローバル設定を表示および変更するには、[Use global settings] 内のリンクを選択します。

Clang-Tidy ビューを開くには、Go to Clang-Tidy を選択します。Clazy ビューを開くには、Go to Clazy を選択します。

Clang-Tidy および Clazy を使用したコードの分析」、「Clang 診断の設定」、および「Clang ツールのグローバル設定」も参照してください

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.