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 d414f29 commit 079bf69Copy full SHA for 079bf69
clang/lib/CodeGen/MCDCState.h
@@ -42,7 +42,7 @@ struct State {
42
bool isValid() const { return ID != InvalidID; }
43
44
void update(unsigned I, IndicesTy &&X) {
45
- assert(ID != InvalidID);
+ assert(isValid());
46
BitmapIdx = I;
47
Indices = std::move(X);
48
}
0 commit comments