diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-05 22:59:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-05 22:59:19 +0000 |
commit | fe345572459b69a6b680322fef504b4f8bd98dd7 (patch) | |
tree | 9aa427c1010bf075e3ea151c07171e88c32045fa /test/Coverage/objc-language-features.inc | |
parent | 5c42f9ba44094eb1a05f8d36c5479645ffbb3c7b (diff) |
Don't mangle names of local variables.
- For one thing, this adds unneeded overhead; for another, this
routine can be used to emit unnamed decls which we shouldn't try to
mangle.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Coverage/objc-language-features.inc')
-rw-r--r-- | test/Coverage/objc-language-features.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Coverage/objc-language-features.inc b/test/Coverage/objc-language-features.inc index 25988f5e53..3b092ffbf4 100644 --- a/test/Coverage/objc-language-features.inc +++ b/test/Coverage/objc-language-features.inc @@ -51,6 +51,9 @@ @implementation A (Cat) @end +@interface B +@end + int f0(id x) { #ifndef IRGENABLE_GNU #ifndef IRGENABLE @@ -62,8 +65,13 @@ int f0(id x) { #ifndef IRGENABLE_GNU @try { @throw x; + } @catch(A *e) { @throw; + + // @catch param doesn't require name. + } @catch(B *) { + } @finally { ; } |