Specificare le impostazioni degli strumenti Clang

Per impostare l'esecuzione dei controlli Clang-Tidy e Clazy per il progetto corrente:

  1. Vai su " Projects " > " Project Settings " > " Clang Tools".

    Impostazioni personalizzate di Clang Tools

  2. Deselezionare " Use global settings".
  3. Impostare le preferenze per il progetto.
  4. In " Suppressed diagnostics" è possibile visualizzare l'elenco delle esclusioni per un progetto e rimuovere da esso le segnalazioni.

Per ripristinare le impostazioni globali, selezionare " Restore Global Settings". Per visualizzare e modificare le impostazioni globali, selezionare il collegamento in " Use global settings".

Per aprire la vista " Clang-Tidy ", selezionare Go to Clang-Tidy. Per aprire la vista " Clazy ", selezionare Go to Clazy.

Vedi anche Analizzare il codice con Clang-Tidy e Clazy, Configurare la diagnostica di Clang e Impostare le preferenze globali per gli strumenti 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.