Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To restrict the search area for the Clang code analyzer in QtCreator, you can use the "Analyzer Options" feature.

  1. Right-click on the project in the "Projects" panel and select "Analyzer Options" from the context menu.
  2. In the "Filter" tab, you can specify the files or folders that you want the analyzer to include or exclude from the analysis.
  3. You can also specify specific source files or patterns using regular expressions.
  4. Click "Apply" to save the changes.

This will restrict the search area for the Clang code analyzer and reduce the analysis time, making it more efficient.