Skip to content

Commit 84c674b

Browse files
committed
C++: Fix typos in IR translation comments
1 parent a3cd668 commit 84c674b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCondition.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ abstract class TranslatedFlexibleCondition extends TranslatedCondition, Conditio
4747
{
4848
TranslatedFlexibleCondition() { this = TTranslatedFlexibleCondition(expr) }
4949

50-
final override predicate handlesDestructorsExplicitly() { none() } // TODO: this needs to be revisted when we get unnamed destructors
50+
final override predicate handlesDestructorsExplicitly() { none() } // TODO: this needs to be revisited when we get unnamed destructors
5151

5252
final override TranslatedElement getChild(int id) { id = 0 and result = this.getOperand() }
5353

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private predicate ignoreExpr(Expr expr) {
166166
}
167167

168168
/**
169-
* Holds if the side effects of `expr` should be ignoredf for the purposes of IR generation.
169+
* Holds if the side effects of `expr` should be ignored for the purposes of IR generation.
170170
*
171171
* In cases involving `constexpr`, a call can wind up as a constant expression. `ignoreExpr()` will
172172
* not hold for such a call, since we do need to translate the call (as a constant), but we need to

0 commit comments

Comments
 (0)