================
@@ -9,7 +9,7 @@ void CheckEnumerations() {
// Check that non-vector 'mode' attribute is OK with enumeration types.
typedef T __attribute__((mode(QI))) T1;
typedef T T2 __attribute__((mode(HI)));
- typedef T __attribute__((mode(V8SI))) T3; // expected-error{{mode 'V8SI' is
not supported for enumeration types}}
+ typedef T __attribute__((mode(V8SI))) T3; // expected-error2{{mode 'V8SI' is
not supported for enumeration types}}
----------------
ericastor wrote:
Yeah, unfortunately the way `InstantiateAttrs` is implemented seems to cause it
to copy attributes even if they errored previously. You can see this used
elsewhere in the same file for much the same reason... this is a case where
we're just having a pre-existing problem show up in a new scenario.
https://github.com/llvm/llvm-project/pull/115924
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits