mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
C++: Apply documentation change suggestion
Co-authored-by: Jonas Jensen <jbj@github.com>
This commit is contained in:
committed by
GitHub
parent
49c656d904
commit
c7ea7ca5cd
@@ -1597,7 +1597,8 @@ private module SimpleRangeAnalysisCached {
|
||||
cached
|
||||
predicate upperBoundMayBeWidened(Expr e) {
|
||||
isRecursiveExpr(e) and
|
||||
// Corresponds to taking max on the RHS
|
||||
// Widening is not a problem if the post-analysis in `getGuardedUpperBound` has overridden the widening.
|
||||
// Note that the RHS of `<` may be multi-valued.
|
||||
not getGuardedUpperBound(e) < getTruncatedUpperBounds(e)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user