File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/Best Practices/Likely Errors Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ predicate isCompilerGenerated(ThisExpr te) {
28
28
29
29
/** Gets the sub-expression of 'e' with the earliest-starting Location */
30
30
Expr normalizeExpr ( Expr e ) {
31
- if forex ( Expr q | q = e .( Call ) .getQualifier ( ) | not isCompilerGenerated ( q . ( ThisExpr ) ) )
31
+ if forex ( Expr q | q = e .( Call ) .getQualifier ( ) | not isCompilerGenerated ( q ) )
32
32
then result = normalizeExpr ( e .( Call ) .getQualifier ( ) )
33
33
else
34
- if forex ( Expr q | q = e .( FieldAccess ) .getQualifier ( ) | not isCompilerGenerated ( q . ( ThisExpr ) ) )
34
+ if forex ( Expr q | q = e .( FieldAccess ) .getQualifier ( ) | not isCompilerGenerated ( q ) )
35
35
then result = normalizeExpr ( e .( FieldAccess ) .getQualifier ( ) )
36
36
else
37
37
if e .hasExplicitConversion ( )
You can’t perform that action at this time.
0 commit comments