We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e685621 commit 66895e1Copy full SHA for 66895e1
clang/include/clang/AST/ASTContext.h
@@ -1818,7 +1818,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
1818
NumPositiveBits = std::max({NumPositiveBits, ActiveBits, 1u});
1819
} else {
1820
NumNegativeBits =
1821
- std::max(NumNegativeBits, (unsigned)InitVal.getSignificantBits());
+ std::max(NumNegativeBits, InitVal.getSignificantBits());
1822
}
1823
1824
MembersRepresentableByInt &= isRepresentableIntegerValue(InitVal, IntTy);
0 commit comments