================
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 %s -verify -ast-dump | FileCheck %s
+
+// expected-no-diagnostics
+
+// CHECK: VarDecl {{.*}} x 'int __attribute__((ext_vector_type(4)))'
----------------
erichkeane wrote:

Oof, I hate the type printing here.  Nothing to change for that, but it makes 
this much less useful for ast-dump.

Do me a favor and do an ast-dump for:

`using ExtVecType = decltype(x);`

Which should eventually do something like:

```
`-ExtVectorType 'int __attribute__((ext_vector_type(4)))' 4
          `-BuiltinType 'int'
```



https://github.com/llvm/llvm-project/pull/130177
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to