• Home
  • Raw
  • Download

Lines Matching full:catch

11   } catch(int i) { // expected-note {{previous definition}}  in trys()
14 } catch(float i) { in trys()
15 } catch(void v) { // expected-error {{cannot catch incomplete type 'void'}} in trys()
16 } catch(A a) { // expected-error {{cannot catch incomplete type 'A'}} in trys()
17 } catch(A *a) { // expected-error {{cannot catch pointer to incomplete type 'A'}} in trys()
18 } catch(A &a) { // expected-error {{cannot catch reference to incomplete type 'A'}} in trys()
19 } catch(Abstract) { // expected-error {{variable type 'Abstract' is an abstract class}} in trys()
20 } catch(...) { in trys()
25 } catch(...) { // expected-error {{catch-all handler must come last}} in trys()
26 } catch(int) { in trys()
51 } catch(int) { // expected-note 4 {{jump bypasses initialization of catch block}} in jumps()
58 } catch(...) { // expected-note 4 {{jump bypasses initialization of catch block}} in jumps()
76 } catch(...) { in BadReturn()
79 } catch(...) {
82 …return; // expected-error {{return in the catch of a function try block of a constructor is illega…
90 } catch(...) { in BadReturn()
93 } catch(int) {
94 …return; // expected-error {{return in the catch of a function try block of a constructor is illega…
95 } catch(...) {
98 …return; // expected-error {{return in the catch of a function try block of a constructor is illega…
121 } catch (int S) { in f()
171 } catch (B &b) { // expected-note {{for type 'HandlerInversion::B &'}} in f1()
172 …} catch (D &d) { // expected-warning {{exception of type 'HandlerInversion::D &' will be caught by… in f1()
178 } catch (B *b) { // expected-note {{for type 'HandlerInversion::B *'}} in f2()
179 …} catch (D *d) { // expected-warning {{exception of type 'HandlerInversion::D *' will be caught by… in f2()
185 } catch (D &d) { // Ok in f3()
186 } catch (B &b) { in f3()
192 } catch (B &b) { // Ok in f4()
198 } catch (int) { in f5()
199 } catch (float) { in f5()
205 } catch (B &b) { // expected-note {{for type 'HandlerInversion::B &'}} in f6()
206 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f6()
212 } catch (B *b) { // Ok in f7()
213 } catch (D &d) { // Ok in f7()
217 } catch (B b) { // Ok in f7()
218 } catch (D *d) { // Ok in f7()
224 } catch (const B &b) { // expected-note {{for type 'const HandlerInversion::B &'}} in f8()
225 …} catch (D2 &d) { // expected-warning {{exception of type 'HandlerInversion::D2 &' will be caught… in f8()
229 } catch (B &b) { // expected-note {{for type 'HandlerInversion::B &'}} in f8()
230 …} catch (const D2 &d) { // expected-warning {{exception of type 'const HandlerInversion::D2 &' wi… in f8()
234 } catch (B b) { // expected-note {{for type 'HandlerInversion::B'}} in f8()
235 …} catch (D &d) { // expected-warning {{exception of type 'HandlerInversion::D &' will be caught by… in f8()
267 } catch (volatile S s) { // expected-error {{calling a private constructor}} in g()
275 } catch (int(*)[i]) { // expected-error{{cannot catch variably modified type}} in test1()
281 } catch (int(*)[i]) { // expected-error{{cannot catch variably modified type}} in test2()