[PATCH] Add CXXMethodDecl::getInlineBody() and fix cpp11-migrate segfault

Richard Smith richard at metafoo.co.uk
Sun Apr 28 14:09:15 PDT 2013

I'm not convinced this is the right approach: getInlineBody has weird
semantics and thus it doesn't seem like a good fit as a general purpose AST
interface.  It would make a lot more sense to me to have the fallback to
the template in the cpp11-migrate code, where it can also handle other
consequences of this, such as classifying such a fix as "risky" (because it
might not be correct for every instantiation).

On Sun, Apr 28, 2013 at 7:21 AM, Guillaume Papin <guillaume.papin at epitech.eu
> wrote:

> Uh, embarrassing, of course I failed the attachments:
> --
> Guillaume Papin
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130428/273d938b/attachment.html>

More information about the cfe-commits mailing list