代码搜索:CATCH
找到约 10,000 项符合「CATCH」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4676426
mm try-catch-6.mm
/* APPLE LOCAL file mainline */
/* A very simple @try-@catch example. */
/* { dg-do compile } */
/* { dg-options "-fobjc-exceptions" } */
int foo(void) {
@try {
return 2;
}
@catch (id foo)
www.eeworm.com/read/233448/4676438
mm try-catch-9.mm
/* APPLE LOCAL file mainline */
/* Check that local variables that get modified inside the @try
block survive until the @catch block is reached. */
/* Developed by Ziemowit Laski
www.eeworm.com/read/233448/4676441
mm try-catch-15.mm
/* APPLE LOCAL file radar 4330422 */
/* Test if addition of 'volatile' to object causes bogus error in presence of try-catch. */
/* { dg-options "-fobjc-exceptions" } */
/* { dg-do compile } */
@inte
www.eeworm.com/read/233448/4676447
mm try-catch-12.mm
/* APPLE LOCAL begin radar 4204796 */
/* Ensure that typeof()-typed variables inside the @try { } block that
"inherit" their EH-volatileness from other variables in the stack frame
do not trigge
www.eeworm.com/read/233448/4676456
mm try-catch-11.mm
/* APPLE LOCAL file mainline */
/* Ensure that @try/@catch blocks do not mess with types of
local objects (other than their volatile bits). */
/* { dg-options "-fobjc-exceptions -fnext-runtime" }
www.eeworm.com/read/233448/4676457
mm try-catch-10.mm
/* APPLE LOCAL file mainline */
/* Check that taking the address of a local variable marked 'volatile'
by the compiler does not generate untoward errors. */
/* Developed by Ziemowit Laski
www.eeworm.com/read/233448/4676471
m try-catch-13.m
/* APPLE LOCAL begin radar 4204796 */
/* { dg-options "-fobjc-exceptions -fnext-runtime" } */
/* { dg-do compile } */
typedef unsigned char uint8_t;
typedef uint8_t foo[24];
void thingy(foo a)
{
}
www.eeworm.com/read/233448/4676507
m try-catch-7.m
/* APPLE LOCAL file mainline */
/* Test for graceful compilation of @synchronized statements. */
/* { dg-do compile } */
/* { dg-options "-fobjc-exceptions" } */
#include
@interfac
www.eeworm.com/read/233448/4676535
m try-catch-2.m
/* Test out '@catch(id foo) {...}', which should catch
all uncaught exceptions. */
/* Developed by Ziemowit Laski . */
/* { dg-options "-fobjc-exceptions" } */
/* { dg-do run }
www.eeworm.com/read/233448/4676549
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