Skip to content

Commit 75c3332

Browse files
committed
C++: Bind 'impl'. Oops.
1 parent d398c8c commit 75c3332

File tree

1 file changed

+2
-0
lines changed
  • cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis

1 file changed

+2
-0
lines changed

cpp/ql/lib/semmle/code/cpp/rangeanalysis/new/internal/semantic/analysis/Reason.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ module Make<ParamSig Param> {
6565
class SemTypeReason extends SemReason, TSemTypeReason {
6666
TypeReasonImpl impl;
6767

68+
SemTypeReason() { this = TSemTypeReason(impl) }
69+
6870
override string toString() { result = "TypeReason" }
6971

7072
bindingset[this, reason]

0 commit comments

Comments
 (0)