AntiPattern
Invalid Sentinel/Guard Semantics
invalid-sentinel-guard-semantics
Mismatched semantics around sentinels and guards cause programs to evaluate the wrong branch or model the wrong lifetime/concurrency rule—e.g., initializer_list lifetimes, nullish coalescing on undefined/null only, and incorrect happens-before assumptions.