llvm-project/clang/test/PCH/method_pool.h
Douglas Gregor c78d34699f PCH support for the global method pool (= instance and factory method
pools, combined). The methods in the global method pool are lazily
loaded from an on-disk hash table when Sema looks into its version of
the hash tables.

llvm-svn: 69989
2009-04-24 21:10:55 +00:00

38 lines
409 B
Objective-C

/* For use with the method_pool.m test */
/* Whitespace below is significant */
@interface TestMethodPool1
+ alloc;
- (double)instMethod:(int)foo;
@end
@interface TestMethodPool2
- (char)instMethod:(int)foo;
@end
@implementation TestMethodPool1
+ alloc {
}
- (double)instMethod:(int)foo {
return foo;
}
@end
@implementation TestMethodPool2
- (char)instMethod:(int)foo {
return foo;
}
@end