File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
cpp/ql/lib/semmle/code/cpp/exprs Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -306,15 +306,13 @@ private predicate exprHasReferenceConversion(Expr e) { referenceConversion(e.get
306306 * }
307307 * };
308308 * ```
309- * Note: the C++ front-end often automatically desugars `field` to
310- * `this->field`, so most accesses of `this->field` are instances
311- * of `PointerFieldAccess` (with `ThisExpr` as the qualifier), not
312- * `ImplicitThisFieldAccess`.
313309 */
314310class ImplicitThisFieldAccess extends FieldAccess {
315311 override string getAPrimaryQlClass ( ) { result = "ImplicitThisFieldAccess" }
316312
317- ImplicitThisFieldAccess ( ) { this .getQualifier ( ) .isCompilerGenerated ( ) or not exists ( this .getQualifier ( ) ) }
313+ ImplicitThisFieldAccess ( ) {
314+ this .getQualifier ( ) .isCompilerGenerated ( ) or not exists ( this .getQualifier ( ) )
315+ }
318316}
319317
320318/**
You can’t perform that action at this time.
0 commit comments