Skip to content

Commit bc50634

Browse files
authored
Merge pull request #18616 from MathiasVP/18592-follow-up
C++: #18592 follow-up
2 parents a4d9956 + a35ed57 commit bc50634

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ class CastNode extends Node {
10091009
}
10101010

10111011
cached
1012-
newtype TDataFlowCallable =
1012+
private newtype TDataFlowCallable =
10131013
TSourceCallable(Cpp::Declaration decl) or
10141014
TSummarizedCallable(FlowSummaryImpl::Public::SummarizedCallable c)
10151015

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ private newtype TIRDataFlowNode =
6666
TFinalGlobalValue(Ssa::GlobalUse globalUse) or
6767
TInitialGlobalValue(Ssa::GlobalDef globalUse) or
6868
TBodyLessParameterNodeImpl(Parameter p, int indirectionIndex) {
69-
not exists(TSummarizedCallable(p.getFunction())) and
7069
// Rule out parameters of catch blocks.
7170
not exists(p.getCatchBlock()) and
7271
// We subtract one because `getMaxIndirectionsForType` returns the maximum

0 commit comments

Comments
 (0)