Index: clang/lib/Sema/SemaType.cpp =================================================================== --- clang/lib/Sema/SemaType.cpp +++ clang/lib/Sema/SemaType.cpp @@ -8331,7 +8331,7 @@ unsigned VecSize = static_cast(RVVVectorSizeInBits.getZExtValue()); ASTContext::BuiltinVectorTypeInfo Info = - S.Context.getBuiltinVectorTypeInfo(CurType->getAs()); + S.Context.getBuiltinVectorTypeInfo(CurType->castAs()); unsigned EltSize = S.Context.getTypeSize(Info.ElementType); unsigned MinElts = Info.EC.getKnownMinValue();