forked from OSchip/llvm-project
[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:
parent
264afb9e6a
commit
fc53bd610f
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue