[clang] Replace call to private ctor with ElementCount::getScalable

Update the code for D86120 which made the constructors of `ElementCount`
private.
This commit is contained in:
Jonas Devlieghere committed 2020-08-19 09:35:08 -07:00
1 parent 264afb9e6a
commit fc53bd610f
1 file changed
+1 -1
+1 -1
View File
@@ -3714,7 +3714,7 @@ QualType ASTContext::getIncompleteArrayType(QualType elementType,
ASTContext::BuiltinVectorTypeInfo
ASTContext::getBuiltinVectorTypeInfo(const BuiltinType *Ty) const {
#define SVE_INT_ELTTY(BITS, ELTS, SIGNED, NUMVECTORS) \
{getIntTypeForBitwidth(BITS, SIGNED), llvm::ElementCount(ELTS, true), \
{getIntTypeForBitwidth(BITS, SIGNED), llvm::ElementCount::getScalable(ELTS), \
NUMVECTORS};
#define SVE_ELTTY(ELTTY, ELTS, NUMVECTORS) \