raw(Param x)1 MAYBE_STATIC void raw(Param x) {}
2 
raw(NonParam x)3 MAYBE_STATIC void raw(NonParam x) {} //expected-error {{Type 'NonParam' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(NonParamUnion x)4 MAYBE_STATIC void raw(NonParamUnion x) {} //expected-error {{Type 'NonParamUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(NonParamClass x)5 MAYBE_STATIC void raw(NonParamClass x) {} //expected-error {{Type 'NonParamClass' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(NonParamEnum x)6 MAYBE_STATIC void raw(NonParamEnum x) {} //expected-error {{Type 'NonParamEnum' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(NonParamEnumClass x)7 MAYBE_STATIC void raw(NonParamEnumClass x) {} //expected-error {{Type 'NonParamEnumClass' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(HasNonParamStruct x)8 MAYBE_STATIC void raw(HasNonParamStruct x) {} //expected-error {{Type 'HasNonParamStruct' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(HasNonParamUnion x)9 MAYBE_STATIC void raw(HasNonParamUnion x) {} //expected-error {{Type 'HasNonParamUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
raw(HasNonParamStructUnion x)10 MAYBE_STATIC void raw(HasNonParamStructUnion x) {} //expected-error {{Type 'HasNonParamStructUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
11 
const_(const NonParam x)12 MAYBE_STATIC void const_(const NonParam x) {} //expected-error {{Type 'NonParam' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const NonParamUnion x)13 MAYBE_STATIC void const_(const NonParamUnion x) {} //expected-error {{Type 'NonParamUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const NonParamClass x)14 MAYBE_STATIC void const_(const NonParamClass x) {} //expected-error {{Type 'NonParamClass' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const NonParamEnum x)15 MAYBE_STATIC void const_(const NonParamEnum x) {} //expected-error {{Type 'NonParamEnum' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const NonParamEnumClass x)16 MAYBE_STATIC void const_(const NonParamEnumClass x) {} //expected-error {{Type 'NonParamEnumClass' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const HasNonParamStruct x)17 MAYBE_STATIC void const_(const HasNonParamStruct x) {} //expected-error {{Type 'HasNonParamStruct' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const HasNonParamUnion x)18 MAYBE_STATIC void const_(const HasNonParamUnion x) {} //expected-error {{Type 'HasNonParamUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
const_(const HasNonParamStructUnion x)19 MAYBE_STATIC void const_(const HasNonParamStructUnion x) {} //expected-error {{Type 'HasNonParamStructUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
20 
array(NonParam x[])21 MAYBE_STATIC void array(NonParam x[]) {}
array(NonParamUnion x[])22 MAYBE_STATIC void array(NonParamUnion x[]) {}
array(NonParamClass x[])23 MAYBE_STATIC void array(NonParamClass x[]) {}
array(NonParamEnum x[])24 MAYBE_STATIC void array(NonParamEnum x[]) {}
array(NonParamEnumClass x[])25 MAYBE_STATIC void array(NonParamEnumClass x[]) {}
array(HasNonParamStruct x[])26 MAYBE_STATIC void array(HasNonParamStruct x[]) {}
array(HasNonParamUnion x[])27 MAYBE_STATIC void array(HasNonParamUnion x[]) {}
array(HasNonParamStructUnion x[])28 MAYBE_STATIC void array(HasNonParamStructUnion x[]) {}
29 
ptr(NonParam * x)30 MAYBE_STATIC void ptr(NonParam* x) {}
ptr(NonParamUnion * x)31 MAYBE_STATIC void ptr(NonParamUnion* x) {}
ptr(NonParamClass * x)32 MAYBE_STATIC void ptr(NonParamClass* x) {}
ptr(NonParamEnum * x)33 MAYBE_STATIC void ptr(NonParamEnum* x) {}
ptr(NonParamEnumClass * x)34 MAYBE_STATIC void ptr(NonParamEnumClass* x) {}
ptr(HasNonParamStruct * x)35 MAYBE_STATIC void ptr(HasNonParamStruct* x) {}
ptr(HasNonParamUnion * x)36 MAYBE_STATIC void ptr(HasNonParamUnion* x) {}
ptr(HasNonParamStructUnion * x)37 MAYBE_STATIC void ptr(HasNonParamStructUnion* x) {}
38 
ref(NonParam & x)39 MAYBE_STATIC void ref(NonParam& x) {}
ref(NonParamUnion & x)40 MAYBE_STATIC void ref(NonParamUnion& x) {}
ref(NonParamClass & x)41 MAYBE_STATIC void ref(NonParamClass& x) {}
ref(NonParamEnum & x)42 MAYBE_STATIC void ref(NonParamEnum& x) {}
ref(NonParamEnumClass & x)43 MAYBE_STATIC void ref(NonParamEnumClass& x) {}
ref(HasNonParamStruct & x)44 MAYBE_STATIC void ref(HasNonParamStruct& x) {}
ref(HasNonParamUnion & x)45 MAYBE_STATIC void ref(HasNonParamUnion& x) {}
ref(HasNonParamStructUnion & x)46 MAYBE_STATIC void ref(HasNonParamStructUnion& x) {}
47 
constRef(const NonParam & x)48 MAYBE_STATIC void constRef(const NonParam& x) {}
constRef(const NonParamUnion & x)49 MAYBE_STATIC void constRef(const NonParamUnion& x) {}
constRef(const NonParamClass & x)50 MAYBE_STATIC void constRef(const NonParamClass& x) {}
constRef(const NonParamEnum & x)51 MAYBE_STATIC void constRef(const NonParamEnum& x) {}
constRef(const NonParamEnumClass & x)52 MAYBE_STATIC void constRef(const NonParamEnumClass& x) {}
constRef(const HasNonParamStruct & x)53 MAYBE_STATIC void constRef(const HasNonParamStruct& x) {}
constRef(const HasNonParamUnion & x)54 MAYBE_STATIC void constRef(const HasNonParamUnion& x) {}
constRef(const HasNonParamStructUnion & x)55 MAYBE_STATIC void constRef(const HasNonParamStructUnion& x) {}
56 
inlineRaw(NonParam x)57 MAYBE_STATIC inline void inlineRaw(NonParam x) {} //expected-error {{Type 'NonParam' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
inlineRaw(NonParamUnion x)58 MAYBE_STATIC inline void inlineRaw(NonParamUnion x) {} //expected-error {{Type 'NonParamUnion' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
inlineRaw(NonParamClass x)59 MAYBE_STATIC inline void inlineRaw(NonParamClass x) {} //expected-error {{Type 'NonParamClass' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
inlineRaw(NonParamEnum x)60 MAYBE_STATIC inline void inlineRaw(NonParamEnum x) {} //expected-error {{Type 'NonParamEnum' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
inlineRaw(NonParamEnumClass x)61 MAYBE_STATIC inline void inlineRaw(NonParamEnumClass x) {} //expected-error {{Type 'NonParamEnumClass' must not be used as parameter}} expected-note {{Please consider passing a const reference instead}}
62