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

Skip to content

Commit b07380d

Browse files
committed
C++: Update ppReprType for C++ IR dataflow
I forgot to do this in b1be123. Without this change, we suffix ` : void` on very step of an IR path explanation.
1 parent 42e180d commit b07380d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Type getErasedRepr(Type t) {
154154
}
155155

156156
/** Gets a string representation of a type returned by `getErasedRepr`. */
157-
string ppReprType(Type t) { result = t.toString() }
157+
string ppReprType(Type t) { none() } // stub implementation
158158

159159
/**
160160
* Holds if `t1` and `t2` are compatible, that is, whether data can flow from

0 commit comments

Comments
 (0)