Skip to content

Commit 255f040

Browse files
- Fixed indentation in checkCall.
- Rebased after new SME warnings were added to SemaChecking.cpp in main.
1 parent 29d99b2 commit 255f040

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/Sema/SemaChecking.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8007,10 +8007,10 @@ void Sema::checkCall(NamedDecl *FDecl, const FunctionProtoType *Proto,
80078007
if (CallerFD->hasAttr<ArmLocallyStreamingAttr>())
80088008
Diag(Loc, diag::warn_sme_locally_streaming_no_sve);
80098009

8010-
if ((CallerFnType == ArmStreaming ||
8011-
CallerFnType == ArmStreamingCompatible) &&
8012-
(!IsCalleeStreaming && !IsCalleeStreamingCompatible))
8013-
Diag(Loc, diag::warn_sme_streaming_mode_change_no_sve);
8010+
if ((CallerFnType == ArmStreaming ||
8011+
CallerFnType == ArmStreamingCompatible) &&
8012+
(!IsCalleeStreaming && !IsCalleeStreamingCompatible))
8013+
Diag(Loc, diag::warn_sme_streaming_mode_change_no_sve);
80148014
}
80158015

80168016
// If the call requires a streaming-mode change and has scalable vector

0 commit comments

Comments
 (0)