代码搜索:CATCH

找到约 10,000 项符合「CATCH」的源代码

代码结果 10,000
www.eeworm.com/read/366702/2872419

mm try-catch-1.mm

/* Test if the compiler accepts @throw / @try..@catch..@finally syntax. */ /* Developed by Ziemowit Laski . */ /* { dg-options "-fobjc-exceptions" } */ /* { dg-do compile } */ #i
www.eeworm.com/read/366702/2872422

mm try-catch-4.mm

/* Check that the compiler does not incorrectly complain about exceptions being caught by previous @catch blocks. */ /* Author: Ziemowit Laski */ /* { dg-do compile } */ /* { d
www.eeworm.com/read/366702/2872427

mm try-catch-2.mm

/* Test out '@catch(id foo) {...}', which should catch all uncaught exceptions. */ /* Developed by Ziemowit Laski . */ /* { dg-options "-fobjc-exceptions" } */ /* { dg-xfail-if
www.eeworm.com/read/366702/2872428

mm try-catch-3.mm

/* Test if caught exception objects are accessible inside the @catch block. (Yes, I managed to break this.) */ /* Author: Ziemowit Laski */ /* { dg-do compile } */ /* { dg-opt
www.eeworm.com/read/366702/2872437

mm try-catch-6.mm

/* A very simple @try-@catch example. */ /* { dg-do compile } */ /* { dg-options "-fobjc-exceptions" } */ int foo(void) { @try { return 2; } @catch (id foo) { return 1; } return 0;
www.eeworm.com/read/366702/2872445

mm try-catch-9.mm

/* Check that local variables that get modified inside the @try block survive until the @catch block is reached. */ /* Developed by Ziemowit Laski . */ /* { dg-options "-fobjc-
www.eeworm.com/read/366702/2872458

mm try-catch-11.mm

/* Ensure that @try/@catch blocks do not mess with types of local objects (other than their volatile bits). */ /* { dg-options "-fobjc-exceptions -fnext-runtime" } */ /* { dg-do compile } */ #in
www.eeworm.com/read/366702/2872459

mm try-catch-10.mm

/* Check that taking the address of a local variable marked 'volatile' by the compiler does not generate untoward errors. */ /* Developed by Ziemowit Laski . */ /* { dg-options
www.eeworm.com/read/366702/2872850

m try-catch-7.m

/* Test for graceful compilation of @synchronized statements. */ /* { dg-do compile } */ /* { dg-options "-fobjc-exceptions" } */ #include @interface Derived: Object - (id) meth; @
www.eeworm.com/read/366702/2872885

m try-catch-3.m

/* Test if caught exception objects are accessible inside the @catch block. (Yes, I managed to break this.) */ /* Author: Ziemowit Laski */ /* { dg-do compile } */ /* { dg-opt