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

Skip to content

Commit cfc1a3d

Browse files
committed
C++: Document Node0Impl, remove a debug change.
1 parent e0d70e3 commit cfc1a3d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module Input implements InputSig<DataFlowImplSpecific::CppDataFlow> {
8989
}
9090
}
9191

92-
/*private*/ import Make<DataFlowImplSpecific::CppDataFlow, Input> as Impl
92+
private import Make<DataFlowImplSpecific::CppDataFlow, Input> as Impl
9393

9494
private module StepsInput implements Impl::Private::StepsInputSig {
9595
DataFlowCall getACall(Public::SummarizedCallable sc) { result.getStaticCallTarget() = sc }

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ module NodeStars {
9494

9595
import NodeStars
9696

97+
/**
98+
* A cut-down `DataFlow::Node` class that does not depend on the output of SSA.
99+
* This can thus be safely used in the SSA computations themselves, as well as
100+
* in construction of other node classes (`TIRDataFlowNode`).
101+
*/
97102
class Node0Impl extends TIRDataFlowNode0 {
98103
/**
99104
* INTERNAL: Do not use.

0 commit comments

Comments
 (0)