repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
tools
/
clang-fuzzer
/
corpus_examples
/
objc
/
ClassExtension.m
blob
d1d3c95607ca79ba3cf549f7203de07d4eb0464f
1
@interface RootObject
2
@end
3
4
@interface BaseClass : RootObject
5
@end
6
7
@interface BaseClass() {
8
int _field1;
9
}
10
@property(atomic, assign, readonly) int field2;
11
12
- (int)addFields;
13
@end
14
15
@implementation BaseClass
16
- (int)addFields {
17
return self->_field1 + [self field2];
18
}
19
@end
20