Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27527

document update threshold for clang-tidy

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 7.0.1
    • None

    Description

      when "analyze open files" is enabled clang-tidy is executed whenever a file is saved. this causes rather high cpu load (for my current codebase a clang-tidy run takes about 60 second on a reasonably fast machine).

      the clangd code model contains a document update threshold to rate-limit clangd. it would be great if something similar could be implemented for clang-tidy. this would reduce the clang-tidy cpu load by rate-limiting it, while still providing direct clang-tidy integration into the editor

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            timblechmann tim blechmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes