Skip to content

Commit ef96288

Browse files
committed
C++: Make PartialDefinitionNode private
This class is undocumented and exposes implementation details through its `getPartialDefinition` member. It does not need to be public.
1 parent ef4f954 commit ef96288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ abstract class PostUpdateNode extends Node {
268268
override Location getLocation() { result = getPreUpdateNode().getLocation() }
269269
}
270270

271-
class PartialDefinitionNode extends PostUpdateNode, TPartialDefinitionNode {
271+
private class PartialDefinitionNode extends PostUpdateNode, TPartialDefinitionNode {
272272
PartialDefinition pd;
273273

274274
PartialDefinitionNode() { this = TPartialDefinitionNode(pd) }

0 commit comments

Comments
 (0)