Skip to content

Commit

Permalink
Merge pull request #18616 from MathiasVP/18592-follow-up
Browse files Browse the repository at this point in the history
C++: #18592 follow-up
  • Loading branch information
MathiasVP authored Jan 28, 2025
2 parents a4d9956 + a35ed57 commit bc50634
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ class CastNode extends Node {
}

cached
newtype TDataFlowCallable =
private newtype TDataFlowCallable =
TSourceCallable(Cpp::Declaration decl) or
TSummarizedCallable(FlowSummaryImpl::Public::SummarizedCallable c)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ private newtype TIRDataFlowNode =
TFinalGlobalValue(Ssa::GlobalUse globalUse) or
TInitialGlobalValue(Ssa::GlobalDef globalUse) or
TBodyLessParameterNodeImpl(Parameter p, int indirectionIndex) {
not exists(TSummarizedCallable(p.getFunction())) and
// Rule out parameters of catch blocks.
not exists(p.getCatchBlock()) and
// We subtract one because `getMaxIndirectionsForType` returns the maximum
Expand Down

0 comments on commit bc50634

Please sign in to comment.