Skip to content

Commit 0398681

Browse files
committed
CPP: Autoformat.
1 parent d8f3422 commit 0398681

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/ql/src/semmle/code/cpp/Declaration.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ abstract class DeclarationEntry extends Locatable {
303303
* public:
304304
* ...
305305
* };
306-
*
306+
*
307307
* void myFunction() {
308308
* // ...
309309
* }
@@ -449,7 +449,7 @@ abstract class AccessHolder extends Declaration {
449449
* public:
450450
* friend void friendFunction();
451451
* };
452-
*
452+
*
453453
* void friendFunction() {
454454
* // ...
455455
* }

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ class FieldAccess extends VariableAccess {
175175
* These typically take the form `obj->field`. Another case is a field access
176176
* with an implicit `this->` qualifier, which is often a `PointerFieldAccess`
177177
* (but see also `ImplicitThisFieldAccess`).
178-
*
178+
*
179179
* For example the accesses to `x` and `y` in `myMethod` in the following code
180180
* are each a `PointerFieldAccess`:
181181
* ```
182182
* class MyClass {
183183
* public:
184184
* void myMethod(MyClass *other) {
185-
other->x = y;
185+
* other->x = y;
186186
* }
187187
*
188188
* int x, y;

0 commit comments

Comments
 (0)