[cfe-commits] r159475 - /cfe/trunk/test/Rewriter/objc-modern-container-subscript.mm

Chandler Carruth chandlerc at google.com
Fri Jun 29 16:57:18 PDT 2012


You can actually #include <stddef.h> for this -- it's specifically allowed
as it ships as part of Clang.


On Fri, Jun 29, 2012 at 4:48 PM, Fariborz Jahanian <fjahanian at apple.com>wrote:

> Author: fjahanian
> Date: Fri Jun 29 18:48:43 2012
> New Revision: 159475
>
> URL: http://llvm.org/viewvc/llvm-project?rev=159475&view=rev
> Log:
> Remove dependency on string.h
>
>
> Modified:
>    cfe/trunk/test/Rewriter/objc-modern-container-subscript.mm
>
> Modified: cfe/trunk/test/Rewriter/objc-modern-container-subscript.mm
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-modern-container-subscript.mm?rev=159475&r1=159474&r2=159475&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Rewriter/objc-modern-container-subscript.mm (original)
> +++ cfe/trunk/test/Rewriter/objc-modern-container-subscript.mm Fri Jun 29
> 18:48:43 2012
> @@ -2,7 +2,7 @@
>  // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary
> -D"Class=void*" -D"id=void*" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp
>  // rdar://11203853
>
> -#include <string.h>
> +typedef unsigned long size_t;
>
>  void *sel_registerName(const char *);
>
>
>
> _______________________________________________
> 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/20120629/484e18cb/attachment.html>


More information about the cfe-commits mailing list