================
@@ -1191,6 +1191,10 @@ void DeclSpec::Finish(Sema &S, const PrintingPolicy
&Policy) {
// Validate and finalize AltiVec vector declspec.
if (TypeAltiVecVector) {
+ // Complex vector types are not supported.
+ if (TypeSpecComplex != TSC_unspecified)
+ S.Diag(TSCLoc, diag::err_invalid_vector_complex_decl_spec);
----------------
chenzheng1030 wrote:
Should we stop diagnosing other errors in this function?
https://github.com/llvm/llvm-project/pull/90467
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits