From caf2ef0d8133cc66f8a4547e2243d3d6791316cf Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Wed, 30 Aug 2017 15:37:30 +0000 Subject: [PATCH] Avoid 'size_t' typedef in the unittest ObjC code This should fix http://bb.pgr.jp/builders/test-clang-msc-x64-on-i686-linux-RA llvm-svn: 312133 --- clang/unittests/Tooling/ASTSelectionTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/unittests/Tooling/ASTSelectionTest.cpp b/clang/unittests/Tooling/ASTSelectionTest.cpp index 6b76bf06cb59..773b6713e12f 100644 --- a/clang/unittests/Tooling/ASTSelectionTest.cpp +++ b/clang/unittests/Tooling/ASTSelectionTest.cpp @@ -535,10 +535,10 @@ void selectProp(I *i) { i.prop = 21; } -typedef unsigned int size_t; + @interface NSMutableArray -- (id)objectAtIndexedSubscript:(size_t)index; -- (void)setObject:(id)object atIndexedSubscript:(size_t)index; +- (id)objectAtIndexedSubscript:(unsigned int)index; +- (void)setObject:(id)object atIndexedSubscript:(unsigned int)index; @end void selectSubscript(NSMutableArray *array, I *i) {