From ba61e1ea8cbca9d2e62938cfe1464e05cd993f05 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312133 91177308-0d34-0410-b5e6-96231b3b80d8 --- unittests/Tooling/ASTSelectionTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/Tooling/ASTSelectionTest.cpp b/unittests/Tooling/ASTSelectionTest.cpp index 6b76bf06cb..773b6713e1 100644 --- a/unittests/Tooling/ASTSelectionTest.cpp +++ b/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) { -- 2.40.0