Files
clang-p2996/clang/lib/Analysis/CalledOnceCheck.cpp
Ziqing Luo 2a06850701 [-Wcompletion-handler] Fix a non-termination issue (#78380)
The Called-Once dataflow analysis could never terminate as a
consequence of non-monotonic update on states.  States of kind Escape
can override states leading to non-monotonic update.

This fix disallows the `Escape` state to override the `Reported`
state.

rdar://119671856
2024-01-26 11:23:15 -08:00

65 KiB