Searched defs:TemplatedStruct (Results 1 – 2 of 2) sorted by relevance
57 struct TemplatedStruct { struct59 T __attribute__((mode(HI))) x1;60 …(mode(V4HI))) x2; // expected-error{{mode 'V4HI' is not supported for enumeration types}}64 typedef T __attribute__((mode(DI))) T1;65 …ibute__((mode(V8DI))) T2; // expected-error{{mode 'V8DI' is not supported for enumeration types}}69 void f1(T __attribute__((mode(QI))) x) {} in f1()70 …e__((mode(SF))) x) {} // expected-error2{{type of machine mode does not match type of base type}} in f2()71 …ibute__((mode(V4QI))) x) {} // expected-error{{mode 'V4QI' is not supported for enumeration types}} in f3()75 …d-error{{'mode' attribute only applies to variables, enums, typedefs, and non-static data members}} in g1()
57 struct TemplatedStruct { struct59 T __attribute__((mode(HI))) x1;60 …(mode(V4HI))) x2; // expected-error{{mode 'V4HI' is not supported for enumeration types}}64 typedef T __attribute__((mode(DI))) T1;65 …ibute__((mode(V8DI))) T2; // expected-error{{mode 'V8DI' is not supported for enumeration types}}69 void f1(T __attribute__((mode(QI))) x) {} in f1()70 …e__((mode(SF))) x) {} // expected-error2{{type of machine mode does not match type of base type}} in f2()71 …ibute__((mode(V4QI))) x) {} // expected-error{{mode 'V4QI' is not supported for enumeration types}} in f3()75 …rn 0; } // expected-error{{'mode' attribute only applies to variables, enums, fields and typedefs}} in g1()