[cfe-dev] The QtReslot Clang plugin
Kevin Funk via cfe-dev
cfe-dev at lists.llvm.org
Wed Feb 15 05:20:49 PST 2017
On Wednesday, 15 February 2017 09:31:29 CET Nikolai Kosjar via cfe-dev wrote:
> On 02/14/2017 11:29 PM, Kevin Funk via cfe-dev wrote:
> > On Tuesday, 14 February 2017 20:33:15 CET Richard Braun via cfe-dev wrote:
> >> Hello,
> >>
> >> During work on an internal Qt-based project at Novasys-Ingenierie,
> >> a Clang plugin was written to convert string-based signals and slots
> >> to the Qt5 syntax. The plugin has since been pushed to Github [1]
> >> in the hope it will be useful to others facing similar issues.
> >
> > Heya Richard,
> >
> > just for the sake of making you aware of existing tools (to save work &
> > share ideas): there already is a Qt oriented Clang-based code checker
> > called Clazy mainly developed by one of my colleagues at KDAB.
> >
> > Clazy allows all sorts of checking & refactoring in Qt code. It also has a
> > check for 'old-style-connect' & provides fixits for it: IOW, it will
> > transform the code to new-style-connect statements if desired.
>
> Hi!
>
> I remember that there was some effort to make this plugin also available
> for libclang users. What happened to that?
This is in limbo, because for normal release builds my intended patch to allow
loading Clang plugins under libclang does not work.
Clang plugin loading under libclang is a general problem, not related to
Clazy.
See this thread for the discussion:
http://lists.llvm.org/pipermail/cfe-dev/2016-March/047639.html
And my patch (stalled):
https://reviews.llvm.org/D15729
Happy to get some help/ideas there so we can finally load e.g. Clazy under
such setups.
Cheers,
Kevin
>
> Nikolai
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170215/99878bed/attachment.sig>
More information about the cfe-dev
mailing list