Skip to content

Commit

Permalink
C++: Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jketema committed Oct 7, 2024
1 parent b8eb2ab commit ed266da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* * Literals: `Constant`.
* * Variable addresses: `VariableAddress`.
* * Function entry points: `EnterFunction`.
* * Return form a function: `Return`, `ReturnVoid`. Note that the value being returned is set separately by a
* * Return from a function: `Return`, `ReturnVoid`. Note that the value being returned is set separately by a
* `Store` to a special `#return` variable.
* * Stack unwinding for C++ function that throw and where the exception escapes the function: `Unwind`.
* * Common exit point for `Unwind` and `Return`: `ExitFunction`.
Expand Down Expand Up @@ -93,7 +93,7 @@
* int x = 5;
* int y = 7;
* int* p = condition ? &x : &y;
* p = 6;
* *p = 6;
* return x;
* ```
*
Expand Down
4 changes: 2 additions & 2 deletions cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/PrintIR.qll
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* * Literals: `Constant`.
* * Variable addresses: `VariableAddress`.
* * Function entry points: `EnterFunction`.
* * Return form a function: `Return`, `ReturnVoid`. Note that the value being returned is set separately by a
* * Return from a function: `Return`, `ReturnVoid`. Note that the value being returned is set separately by a
* `Store` to a special `#return` variable.
* * Stack unwinding for C++ function that throw and where the exception escapes the function: `Unwind`.
* * Common exit point for `Unwind` and `Return`: `ExitFunction`.
Expand Down Expand Up @@ -93,7 +93,7 @@
* int x = 5;
* int y = 7;
* int* p = condition ? &x : &y;
* p = 6;
* *p = 6;
* return x;
* ```
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* * Literals: `Constant`.
* * Variable addresses: `VariableAddress`.
* * Function entry points: `EnterFunction`.
* * Return form a function: `Return`, `ReturnVoid`. Note that the value being returned is set separately by a
* * Return from a function: `Return`, `ReturnVoid`. Note that the value being returned is set separately by a
* `Store` to a special `#return` variable.
* * Stack unwinding for C++ function that throw and where the exception escapes the function: `Unwind`.
* * Common exit point for `Unwind` and `Return`: `ExitFunction`.
Expand Down Expand Up @@ -93,7 +93,7 @@
* int x = 5;
* int y = 7;
* int* p = condition ? &x : &y;
* p = 6;
* *p = 6;
* return x;
* ```
*
Expand Down

0 comments on commit ed266da

Please sign in to comment.