[Qt-creator] Clang based code model

Jason H scorp1us at yahoo.com
Fri Feb 14 23:00:23 CET 2014


We could educate those still using it about the DRY principal. :-)



----- Original Message -----
From: Pawel <pawelfaron87 at wp.pl>
To: "qt-creator at qt-project.org" <qt-creator at qt-project.org>
Cc: 
Sent: Friday, February 14, 2014 2:57 PM
Subject: Re: [Qt-creator] Clang based code model

Hello,

I've tried the Clang code model and unfortunately found out that it  
doesn't support the old K&R style function parameter declarations like  
this:

int func(a, b, c)
    int a;
    int b;
    int c;
{
   return a + b + c;
}

You may not believe there are still people who use it... and almost every  
IDE is at lost with it :) Do you think that there is anything that can be  
done with it?

best regards
Pawel

On Fri, 14 Feb 2014 14:44:51 +0100, DimanNe <dimanne at ya.ru> wrote:

> One question, what benefit we should have from clang code model?
> Is it about better support for completion (template, in particular) and  
> navigation (via F2)?
>
> If so then std::unique_ptr::operarot-> still does not work...
>
> 14.02.2014, 17:39, "Ziller Eike" <Eike.Ziller at digia.com>:
>> Hi all,
>>
>> the Qt Creator master snapshots (which will become Qt Creator 3.1), are  
>> now built with experimental support for the clang-based code model.
>>
>> So if you want to try it:
>> 1. download and install from  
>> http://download.qt-project.org/snapshots/qtcreator/master/latest/
>> 2. start Qt Creator, Help > About Plugins, enable C++/ClangCodeModel  
>> plugin, restart
>> 3. Options > C++ > Code Model, choose clang for the types of files you  
>> want
>>
>> Feedback welcome —> bugreports.qt-project.org :)
>>
>> 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
>>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator


-- 
Using Opera's mail client: http://www.opera.com/mail/

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com


_______________________________________________
Qt-creator mailing list
Qt-creator at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator



More information about the Qt-creator mailing list