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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
Rewriter
/
rewrite-eh.m
blob
d20cdb822b6492ac1319f483969f5d83a58e198e
1
// RUN: %clang_cc1 -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 -fobjc-exceptions -o - %s
2
3
@interface NSException
4
@end
5
6
@interface Foo
7
@end
8
9
@implementation Foo
10
- (void)bar {
11
@try {
12
} @catch (NSException *e) {
13
}
14
@catch (Foo *f) {
15
}
16
@catch (...) {
17
}
18
}
19
@end