r312133 - Avoid 'size_t' typedef in the unittest ObjC code
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 30 08:37:30 PDT 2017
Author: arphaman
Date: Wed Aug 30 08:37:30 2017
New Revision: 312133
URL: http://llvm.org/viewvc/llvm-project?rev=312133&view=rev
Log:
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
Modified:
cfe/trunk/unittests/Tooling/ASTSelectionTest.cpp
Modified: cfe/trunk/unittests/Tooling/ASTSelectionTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/ASTSelectionTest.cpp?rev=312133&r1=312132&r2=312133&view=diff
==============================================================================
--- cfe/trunk/unittests/Tooling/ASTSelectionTest.cpp (original)
+++ cfe/trunk/unittests/Tooling/ASTSelectionTest.cpp Wed Aug 30 08:37:30 2017
@@ -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) {
More information about the cfe-commits
mailing list