Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Sounds to me like a big learning curve is involved - which is going to
be very distracting from research activities.
If someone can give me link to a good tutorial that gives me a good
feeling about it I may bite.

(But I can still change code in the filters manually - the thing is
that mindless work is no fun)
Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and complete,
not lacking anything." -James 1:4
http://asimplediscipleslife.blogspot.com/
mlaverd.theunixplace.com



On Fri, Dec 14, 2012 at 5:28 AM, Michael Meeks <michael.meeks@suse.com> wrote:

On Thu, 2012-12-13 at 14:00 +0100, Lubos Lunak wrote:
 I think it shouldn't be that difficult to write a Clang plugin that finds all
uses of SvStream::operator<</>> , checks whether the variable read to is
initalized [*] , and possibly it shouldn't be even that big deal to have it
rewrite them to a series of SvStream::readInt32() etc. calls (i.e. EasyHack
fdo#56110). I have not written yet any howto on plugins besides the examples
under compilerplugins/, but if there would be interest, I could do something.

        Oooh ! that would be really lovely :-)

[*] Or, since I assume all those variables have been needlessly initialized
just in attempt to silence the broken warning with the wretched gcc thing on
Apple, the check will need to be more complicated and find if the initializer
is not the default value for the type.

        Yep - I guess so !

        Would rather improve the robustness of our filters I suspect.

        Marc - now that's a real fun / hacking task - are you interested ? :-)

        ATB,

                Michael.

--
michael.meeks@suse.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.