Skip to content

Commit 4bc9e60

Browse files
committed
Removing redundant code; NFC
The same predicate is checked on line 12962 just above the removed code.
1 parent 6b03bae commit 4bc9e60

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/Sema/SemaChecking.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12976,9 +12976,6 @@ static bool AnalyzeBitFieldAssignment(Sema &S, FieldDecl *Bitfield, Expr *Init,
1297612976
}
1297712977
}
1297812978

12979-
if (Bitfield->getType()->isBooleanType())
12980-
return false;
12981-
1298212979
// Ignore value- or type-dependent expressions.
1298312980
if (Bitfield->getBitWidth()->isValueDependent() ||
1298412981
Bitfield->getBitWidth()->isTypeDependent() ||

0 commit comments

Comments
 (0)