[cfe-dev] [PATCH] Frontend action to migrate code using SenTestingKit to XCTest framework

Argyrios Kyrtzidis kyrtzidis at apple.com
Tue Aug 19 14:24:45 PDT 2014

Hi Chandler,

> On Aug 19, 2014, at 1:19 PM, Chandler Carruth <chandlerc at google.com> wrote:
> This seems like a really cool tool, but I'm not sure why it is using frontend actions directly and wired into core of Clang...
> We have developer really nice layers for building these types of tools with libTooling and I think this would make a lot more sense as a libtooling-based tool in clang-tools-extra.

This is a good point and I agree.
We’ll look into making changes towards using an external tool instead of wiring into clang.

> On Fri, Aug 15, 2014 at 4:30 PM, Argyrios Kyrtzidis <kyrtzidis at apple.com <mailto:kyrtzidis at apple.com>> wrote:
> Hi all,
> The attached patch introduces new option and frontend action to migrate code that is utilizing the SenTestingKit framework and rewrite it to using the XCTest one, for example:
> - "#import <SenTestingKit/SenTestingKit.h>” —> "#import <XCTest/XCTest.h>”
> - "STFail(@"fail”);” —> "XCTFail(@"fail”);”
> etc..
> Please let me know if you have any comments/feedback.
> -Argyrios
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu <mailto:cfe-dev at cs.uiuc.edu>
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140819/872dbcf3/attachment.html>

More information about the cfe-dev mailing list