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.


<<< message/external-body; name= "/tmp/getInlineBody.patch/Add-getInlineBody-method-to-CXXMethodDecl.patch"; access-type=local-file: Unrecognized >>>

<<< message/external-body; name= "/tmp/getInlineBody.patch/cpp11-migrate-AddOverride-now-look-for-the-body-of-a-template-instantiation.patch"; access-type=local-file: Unrecognized >>>
-- 
Guillaume Papin
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to