Lines Matching full:catch

12   } catch(int i) { // expected-note {{previous definition}}  in trys()
15 } catch(float i) { in trys()
16 } catch(void v) { // expected-error {{cannot catch incomplete type 'void'}} in trys()
17 } catch(A a) { // expected-error {{cannot catch incomplete type 'A'}} in trys()
18 } catch(A *a) { // expected-error {{cannot catch pointer to incomplete type 'A'}} in trys()
19 } catch(A &a) { // expected-error {{cannot catch reference to incomplete type 'A'}} in trys()
20 } catch(Abstract) { // expected-error {{variable type 'Abstract' is an abstract class}} in trys()
21 } catch(...) { in trys()
30 } catch(...) { // expected-error {{catch-all handler must come last}} in trys()
31 } catch(int) { in trys()
56 } catch(int) { // expected-note 4 {{jump bypasses initialization of catch block}} in jumps()
63 } catch(...) { // expected-note 4 {{jump bypasses initialization of catch block}} in jumps()
81 } catch(...) { in BadReturn()
84 } catch(...) {
87 …return; // expected-error {{return in the catch of a function try block of a constructor is illega…
95 } catch(...) { in BadReturn()
98 } catch(int) {
99 …return; // expected-error {{return in the catch of a function try block of a constructor is illega…
100 } catch(...) {
103 …return; // expected-error {{return in the catch of a function try block of a constructor is illega…
126 } catch (int S) { in f()
176 } catch (B &b) { // expected-note {{for type 'HandlerInversion::B &'}} in f1()
177 …} catch (D &d) { // expected-warning {{exception of type 'HandlerInversion::D &' will be caught by… in f1()
183 } catch (B *b) { // expected-note {{for type 'HandlerInversion::B *'}} in f2()
184 …} catch (D *d) { // expected-warning {{exception of type 'HandlerInversion::D *' will be caught by… in f2()
190 } catch (D &d) { // Ok in f3()
191 } catch (B &b) { in f3()
197 } catch (B &b) { // Ok in f4()
203 } catch (int) { in f5()
204 } catch (float) { in f5()
210 } catch (B &b) { // expected-note {{for type 'HandlerInversion::B &'}} in f6()
211 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f6()
217 } catch (B *b) { // Ok in f7()
218 } catch (D &d) { // Ok in f7()
222 } catch (B b) { // Ok in f7()
223 } catch (D *d) { // Ok in f7()
229 } catch (const B &b) { // expected-note {{for type 'const HandlerInversion::B &'}} in f8()
230 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f8()
234 } catch (B &b) { // expected-note {{for type 'HandlerInversion::B &'}} in f8()
235 …} catch (const D2 &d) { // expected-warning {{exception of type 'const HandlerInversion::D2 &' wi… in f8()
239 } catch (B b) { // expected-note {{for type 'HandlerInversion::B'}} in f8()
240 …} catch (D &d) { // expected-warning {{exception of type 'HandlerInversion::D &' will be caught by… in f8()
272 } catch (volatile S s) { // expected-error {{calling a private constructor}} in g()
280 } catch (int(*)[i]) { // expected-error{{cannot catch variably modified type}} in test1()
286 } catch (int(*)[i]) { // expected-error{{cannot catch variably modified type}} in test2()