We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44bdf98 commit 30b5975Copy full SHA for 30b5975
cpp/ql/src/semmle/code/cpp/exprs/Expr.qll
@@ -459,10 +459,8 @@ class Expr extends StmtParent, @expr {
459
// cheaply. Then, if there is an explicit conversion following the implict
460
// conversion sequence, recurse to handle multiple explicit conversions.
461
if this.getImplicitlyConverted().hasExplicitConversion()
462
- then
463
- result = this.getImplicitlyConverted().getConversion().getExplicitlyConverted()
464
- else
465
- result = this
+ then result = this.getImplicitlyConverted().getConversion().getExplicitlyConverted()
+ else result = this
466
}
467
468
/**
0 commit comments