diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-03-01 16:13:57 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-03-01 16:13:57 +0900 |
commit | 7ee8e0642ccd6078fa339d6672ca047f25f73f3f (patch) | |
tree | 2050d4107411bdfe6daba90899d13591ae067e45 /clang/lib/CodeGen/MCDCState.h | |
parent | d6cb61a541f1c6de1379943e2b67a2d2523ab4d6 (diff) | |
parent | 457cf4b49982e9b1ab72d47a93ec878fb127d856 (diff) | |
download | llvm-users/chapuni/mcdc/nest/bitmapaddr.zip llvm-users/chapuni/mcdc/nest/bitmapaddr.tar.gz llvm-users/chapuni/mcdc/nest/bitmapaddr.tar.bz2 |
Merge branch 'users/chapuni/mcdc/nest/mcdcstate' into users/chapuni/mcdc/nest/bitmapaddrusers/chapuni/mcdc/nest/bitmapaddr
Diffstat (limited to 'clang/lib/CodeGen/MCDCState.h')
-rw-r--r-- | clang/lib/CodeGen/MCDCState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/MCDCState.h b/clang/lib/CodeGen/MCDCState.h index 2bb4eaf..5831574 100644 --- a/clang/lib/CodeGen/MCDCState.h +++ b/clang/lib/CodeGen/MCDCState.h @@ -44,7 +44,7 @@ struct State { bool isValid() const { return ID != InvalidID; } void update(unsigned I, IndicesTy &&X) { - assert(ID != InvalidID); + assert(isValid()); BitmapIdx = I; Indices = std::move(X); } |