================
@@ -8097,8 +8056,29 @@ bool Sema::CheckVectorCast(SourceRange R, QualType 
VectorTy, QualType Ty,
   return false;
 }
 
+static QualType getVectorElementType(ASTContext &Context, QualType VectorTy,
+                                     bool Unaltered) {
+  if (const auto *TyA = VectorTy->getAs<VectorType>())
+    return TyA->getElementType();
+  if (VectorTy->isSizelessVectorType()) {
+    if (Unaltered) {
----------------
pawosm-arm wrote:

Done

https://github.com/llvm/llvm-project/pull/205432
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to