[Development] How long until clang memory model is ready?

Yang Fan missdeer at gmail.com
Thu Jan 23 10:02:34 CET 2014


Clang code model highlight feature works fine, but code completion is too
slow to daily use.
Some debug messages:
... Completion done in 7387 ms, with 12 items.
... Completion done in 3287 ms, with 14105 items.
... Completion done in 3236 ms, with 189 items.
... Completion done in 3325 ms, with 14106 items.
... Completion done in 3388 ms, with 0 items.
... Completion done in 3299 ms, with 200 items.
... Completion done in 3495 ms, with 14115 items.
... Completion done in 3143 ms, with 9 items.
... Completion done in 3315 ms, with 9 items.



On Thu, Jan 23, 2014 at 4:37 PM, Robert Knight <robertknight at gmail.com>wrote:

> > That’s correct. In Qt Creator master branch (i.e. 3.1 series) you can
> choose the code model of different languages to use clang as a code model
> backend
>
> What are the pros/cons of the two options for C++ as it currently stands?
>
> Regards,
> Rob.
>
> On 23 January 2014 07:55, Ziller Eike <Eike.Ziller at digia.com> wrote:
> >
> > On Jan 22, 2014, at 8:31 PM, Cristian Adam <cristian.adam at here.com>
> wrote:
> >
> >> On 22.01.2014 19:35, ext Olivier Goffart wrote:
> >>> Regarding the use of libclang for the code model in Qt creator, there
> >>> was no progress in a long time.
> >>
> >> I think the clang code model branch has been merged into master:
> >>
> http://lists.qt-project.org/pipermail/qt-creator/2013-December/003028.html
> >>
> >> The next version of Qt Creator should have the clang code model as a
> >> plugin.
> >
> > That’s correct. In Qt Creator master branch (i.e. 3.1 series) you can
> choose the code model of different languages to use clang as a code model
> backend, or Qt Creator’s built-in. (If you pointed Qt Creator to libclang
> (and dev headers) at Qt Creator compile time.)
> >
> > Br, Eike
> >
> >
> > --
> > Eike Ziller, Senior Software Engineer - Digia, Qt
> >
> > Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
> > Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
> > Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
> Charlottenburg, HRB 144331 B
> >
> > _______________________________________________
> > Development mailing list
> > Development at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/development
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



-- 
Regards,
Fan Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140123/2c8a8837/attachment.html>


More information about the Development mailing list