[PATCH] fix test-suite/SingleSource/UnitTests/ObjC for iOS SDK

Daniel Dunbar daniel at zuster.org
Fri Jan 23 16:16:52 PST 2015


The patch to messages-2.m should probably just substitute an inline
definition of a size class, IIRC (and its been a long time) the test is
trying to explicitly check a particular structure layout, so it would be
better to just hardcode the definition as:
--
typedef struct {
  float width, height;
} MySize;
--
since this test was originally intended for testing the 32-bit structure
layout, I think.

 - Daniel


On Fri, Jan 23, 2015 at 2:55 PM, Matthias Braun <mbraun at apple.com> wrote:

> The attached patches fix two problems when running
> test-suite/SingleSource/UnitTests/ObjC with the iOS SDK.
>
> - Matthias
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150123/e2445e8f/attachment.html>


More information about the llvm-commits mailing list