mirror of
https://github.com/github/codeql.git
synced 2026-05-05 05:35:13 +02:00
C++: IRGuards uses Operand; fix CP in SignAnalysis
This commit is contained in:
@@ -7,3 +7,13 @@ int f(int x, int y) {
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
int g(int x, int y) {
|
||||
if (x < y) {
|
||||
return y
|
||||
}
|
||||
if (x < 0) {
|
||||
return x;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user