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 | f804897ee94fe082cc840c5eca54ae6698324452 (patch) | |
tree | 6839cb2d7f63ac85cf5b248c3d9f927e85bdd45b /clang/test | |
parent | 3add5e51ff569c38ce56b5a9a1f08a800960757e (diff) | |
download | bcm5719-llvm-f804897ee94fe082cc840c5eca54ae6698324452.tar.gz bcm5719-llvm-f804897ee94fe082cc840c5eca54ae6698324452.zip |
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.
llvm-svn: 66212
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Coverage/objc-language-features.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Coverage/objc-language-features.inc b/clang/test/Coverage/objc-language-features.inc index 25988f5e53a..3b092ffbf4c 100644 --- a/clang/test/Coverage/objc-language-features.inc +++ b/clang/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 { ; } |