Skip to content

Commit f44451d

Browse files
committed
!fixup add {}
1 parent 32354bb commit f44451d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/VectorUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,9 +998,9 @@ static void getMetadataToPropagate(
998998

999999
// Remove any unsupported metadata kinds from Metadata.
10001000
for (unsigned Idx = 0; Idx != Metadata.size();) {
1001-
if (is_contained(SupportedIDs, Metadata[Idx].first))
1001+
if (is_contained(SupportedIDs, Metadata[Idx].first)) {
10021002
Idx++;
1003-
else {
1003+
} else {
10041004
// Swap element to end and remove it.
10051005
std::swap(Metadata[Idx], Metadata.back());
10061006
Metadata.pop_back();

0 commit comments

Comments
 (0)