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 b6be53d commit 77b309dCopy full SHA for 77b309d
clang/lib/AST/VTableBuilder.cpp
@@ -2115,8 +2115,8 @@ void ItaniumVTableBuilder::dumpLayout(raw_ostream &Out) {
2115
2116
// Dump the next address point.
2117
uint64_t NextIndex = Index + 1;
2118
- if (AddressPointsByIndex.count(NextIndex)) {
2119
- if (AddressPointsByIndex.count(NextIndex) == 1) {
+ if (unsigned Count = AddressPointsByIndex.count(NextIndex)) {
+ if (Count == 1) {
2120
const BaseSubobject &Base =
2121
AddressPointsByIndex.find(NextIndex)->second;
2122
0 commit comments