Skip to content

Commit 86123fe

Browse files
mbaludaCopilot
andauthored
Update cpp/common/src/codingstandards/cpp/standardlibrary/Assert.qll
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cbec99e commit 86123fe

File tree

1 file changed

+1
-1
lines changed
  • cpp/common/src/codingstandards/cpp/standardlibrary

1 file changed

+1
-1
lines changed

cpp/common/src/codingstandards/cpp/standardlibrary/Assert.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class AssertInvocation extends MacroInvocation {
2323
* condition being asserted.
2424
*
2525
* For example, `assert(x)` may expand to `{ if (!__unlikely(x)) abort(); }`. In this case:
26-
* - We first identify the "outermost conditonal" generated by the macro, which is the `if`
26+
* - We first identify the "outermost conditional" generated by the macro, which is the `if`
2727
* statement, with the raw condition `!__unlikely(x)`.
2828
* - We then analyze the control flow to see if the abort occurs when this raw condition is true
2929
* or false. In this case, it aborts when the raw condition `!__unlikely(x)` is true.

0 commit comments

Comments
 (0)