Указать настройки инструментов 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.