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

Clang: Speed up processing of file first time by creating preamble on parse

    XMLWordPrintable

Details

    Description

      On file open we do parse() + reparse(). The reparse() is necessary to create the preamble, which results in a fast code completion results on first use.

      libclang 3.8 provides the new flag CXTranslationUnit_CreatePreambleOnFirstParse which we can use to avoid the reparse().

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            kosjar Nikolai Kosjar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes