Skip to content

Commit 08fa314

Browse files
committed
C++: Fix accidential removal of private annotations
1 parent 2512403 commit 08fa314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ abstract class PostUpdateNode extends InstructionNode {
249249
* setY(&x); // a partial definition of the object `x`.
250250
* ```
251251
*/
252-
abstract class PartialDefinitionNode extends PostUpdateNode, TInstructionNode {
252+
abstract private class PartialDefinitionNode extends PostUpdateNode, TInstructionNode {
253253
abstract Expr getDefinedExpr();
254254
}
255255

256-
class ExplicitFieldStoreQualifierNode extends PartialDefinitionNode {
256+
private class ExplicitFieldStoreQualifierNode extends PartialDefinitionNode {
257257
override ChiInstruction instr;
258258
FieldAddressInstruction field;
259259

0 commit comments

Comments
 (0)