[PATCH] Add CXXMethodDecl::getInlineBody() and fix cpp11-migrate segfault
Guillaume Papin
guillaume.papin at epitech.eu
Sun Apr 28 07:12:41 PDT 2013
Hello,
Here are my first (small) patches:
1. Add `CXXMethodDecl::getInlineBody()`. `hasInlineBody()` already exists but
not the getter(s). I'm not totally sure about the clarity of the
documentation and note that `hasInlineBody()` is lacking one.
This patch is then used by the second patch.
2. Fix of PR15827 (http://llvm.org/bugs/show_bug.cgi?id=15827). A test-case has
been added as well. A comment in the PR notify of the absence of a check for
the main file, this has also been fixed.
I hope everything looks good,
Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130428/1364f34d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 1 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130428/1364f34d/attachment-0001.bin>
-------------- next part --------------
--
Guillaume Papin
More information about the cfe-commits
mailing list