aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Serialization/InMemoryModuleCacheTest.cpp
diff options
context:
space:
mode:
authorWu Yingcong <yingcong.wu@intel.com>2024-11-21 14:13:08 +0800
committerGitHub <noreply@github.com>2024-11-21 14:13:08 +0800
commit42775a44c9a6ba8dc03ad4c88fa9321e78ebd434 (patch)
treedc48f365c876d5c05de1f648c98286ac7263fee4 /clang/unittests/Serialization/InMemoryModuleCacheTest.cpp
parent32913724acf9e02beed46999fee1424086b8c884 (diff)
downloadllvm-42775a44c9a6ba8dc03ad4c88fa9321e78ebd434.zip
llvm-42775a44c9a6ba8dc03ad4c88fa9321e78ebd434.tar.gz
llvm-42775a44c9a6ba8dc03ad4c88fa9321e78ebd434.tar.bz2
[ControlHeightReduction] Add assert to avoid underflow (#116339)
`NumCHRedBranches - 1` is used later, we should add an assertion to make sure it will not underflow.
Diffstat (limited to 'clang/unittests/Serialization/InMemoryModuleCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions