[cfe-dev] libclang refactoring tool talk proposed for C++ Now! 2014

Ryan Gonzalez rymg19 at gmail.com
Fri Nov 8 06:28:35 PST 2013


Looks great! It's true that too many C++ parsers ARE complicated. That'll
be a great talk. Now all we need is libclang binaries for Windows...


On Tue, Nov 5, 2013 at 7:52 PM, Richard <legalize at xmission.com> wrote:

> Hi Group,
>
> Here is a talk I proposed for C++ Now! 2014:
>
> Title: Create Your Own Refactoring Tool With clang
> Session: 90 minute tutorial
> Audience: users and developers
>
>   Refactoring tools for C++ have lagged those available in other
>   languages.  We've all heard the excuses about how C++ is too hard
>   to parse and too hard to reason about.  Well, get ready to have your
>   socks blown off by the tooling infrastructure provided with clang that
>   makes writing refactoring tools simple and easy.
>
>   In this talk, I will incrementally develop a refactoring tool with
>   clang that transforms a void function argument list (void) to an empty
>   argument list ().
>
>   Biography: Richard Thomson is a passionate software craftsman.
>   He has been writing C programs since 1980 and C++ programs since 1993.
>   For 10 years, Richard was a Microsoft MVP for Direct3D, Microsoft's
>   native C++ API for 3D graphics.  His book on Direct3D is available
>   as a free download.  Prior to that, Richard was a technical reviewer
>   of the OpenGL 1.0 specification.  He is the director of the Computer
>   Graphics Museum in Salt Lake City, Utah.
>
> If you have any suggestions for things that could improve this talk
> based on this outline, I'd love to hear them.
>
> After I suggested this refactoring as a feature for clang-modernize, I
> received a private suggestion that this project would make an
> excellent tutorial for writing your own refactoring tool using
> libtooling.  I liked that idea, but haven't had time to write up a
> blog post on it yet (work has been busy...).  When C++ Now! 2014
> sent out a call for submissions, I decided that was a good time to act
> on the suggestion to turn this into a tutorial.
>
> As much as possible, I like my talks to be "live coding", although it
> generally helps if you cheat like they do on the cooking shows ...
> "set that on 350 degrees for 2 hours... and here we have one that we've
> already baked".  My point is that I like to emphasize the coding and
> not the talking.  I think it helps makes tutorials more concrete and
> less abstract.
> --
> "The Direct3D Graphics Pipeline" free book <
> http://tinyurl.com/d3d-pipeline>
>      The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
>          The Terminals Wiki <http://terminals.classiccmp.org>
>   Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



-- 
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131108/eb6af913/attachment.html>


More information about the cfe-dev mailing list