Skip to content

Commit 7d6b608

Browse files
committed
The return should be a break
1 parent d5b2294 commit 7d6b608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaTypeTraits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2376,7 +2376,7 @@ static void DiagnoseNonStandardLayoutReason(Sema &SemaRef, SourceLocation Loc,
23762376
<< FirstField;
23772377

23782378
// No need to check further fields, as we already found mixed access.
2379-
return;
2379+
break;
23802380
}
23812381
}
23822382
if (hasMultipleDataBaseClassesWithFields(D)) {

0 commit comments

Comments
 (0)