Skip to content

Commit 192c16b

Browse files
committed
C++: Format QL and delete note
1 parent 5522218 commit 192c16b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

cpp/ql/lib/semmle/code/cpp/exprs/Access.qll

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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
*/
314310
class 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
/**

0 commit comments

Comments
 (0)