Skip to content

Commit cf24a0b

Browse files
Apply suggestions from code review
Co-authored-by: Sander de Smalen <[email protected]>
1 parent 34e0654 commit cf24a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/Sema.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,12 +2269,12 @@ void Sema::checkTypeSupport(QualType Ty, SourceLocation Loc, ValueDecl *D) {
22692269
(LangOpts.VScaleMin != LangOpts.VScaleStreamingMin ||
22702270
LangOpts.VScaleMax != LangOpts.VScaleStreamingMax)) {
22712271
if (IsArmStreamingFunction(FD, /*IncludeLocallyStreaming=*/true)) {
2272-
Diag(Loc, diag::err_sve_fixed_vector_in_streaming_function) << Ty << 0;
2272+
Diag(Loc, diag::err_sve_fixed_vector_in_streaming_function) << Ty << /*Streaming*/ 0;
22732273
} else if (const auto *FTy = FD->getType()->getAs<FunctionProtoType>()) {
22742274
if (FTy->getAArch64SMEAttributes() &
22752275
FunctionType::SME_PStateSMCompatibleMask) {
22762276
Diag(Loc, diag::err_sve_fixed_vector_in_streaming_function)
2277-
<< Ty << 1;
2277+
<< Ty << /*StreamingCompatible*/ 1;
22782278
}
22792279
}
22802280
}

0 commit comments

Comments
 (0)