Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a94f25e

Browse files
author
Max Schaefer
committed
C++: Fix erroneous backticks in query help.
1 parent c74db8b commit a94f25e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cpp/ql/src/Likely Bugs/Conversion/LossyFunctionResultCast.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
</overview>
1010
<recommendation>
11-
<p>Consider changing the surrounding expression to match the floating point type. If rounding is intended, explicitly round using a standard function such as `trunc`, `floor` or `round`.</p>
11+
<p>Consider changing the surrounding expression to match the floating point type. If rounding is intended, explicitly round using a standard function such as <code>trunc</code>, <code>floor</code> or <code>round</code>.</p>
1212

1313
</recommendation>
1414
<example><sample src="LossyFunctionResultCast.cpp" />

cpp/ql/src/Likely Bugs/Likely Typos/FutileParams.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<p>A function is called with arguments despite having an empty parameter list. This may indicate
99
that the incorrect function is being called, or that the author misunderstood the function.</p>
1010

11-
<p>In C, a function declared with an empty parameter list `()` is considered to have an unknown
11+
<p>In C, a function declared with an empty parameter list <code>()</code> is considered to have an unknown
1212
parameter list, and therefore can be called with any set of arguments. To declare a function
13-
which takes no arguments, you must use `(void)` as the parameter list in any forward declarations.
13+
which takes no arguments, you must use <code>(void)</code> as the parameter list in any forward declarations.
1414
In C++, either style of declaration indicates that the function accepts no arguments.</p>
1515

1616
</overview>

0 commit comments

Comments
 (0)