C++: autoformat

This commit is contained in:
Robert Marsh
2020-09-18 14:19:29 -07:00
parent b84bf5e9bb
commit bd7f5a41d1
2 changed files with 6 additions and 10 deletions

View File

@@ -284,12 +284,10 @@ abstract class PostUpdateNode extends Node {
override Location getLocation() { result = getPreUpdateNode().getLocation() }
}
private abstract class PartialDefinitionNode extends PostUpdateNode, TPartialDefinitionNode {
abstract private class PartialDefinitionNode extends PostUpdateNode, TPartialDefinitionNode {
PartialDefinition pd;
PartialDefinitionNode() {
this = TPartialDefinitionNode(pd)
}
PartialDefinitionNode() { this = TPartialDefinitionNode(pd) }
override Location getLocation() { result = pd.getActualLocation() }
@@ -306,7 +304,7 @@ private class VariablePartialDefinitionNode extends PartialDefinitionNode {
/**
* INTERNAL: do not use.
*
*
* A synthetic data flow node used for flow into a collection when an iterator
* write occurs in a callee.
*/

View File

@@ -112,13 +112,11 @@ private module PartialDefinitions {
abstract class PartialDefinition extends Expr {
ControlFlowNode node;
PartialDefinition() {
not this instanceof Conversion
}
PartialDefinition() { not this instanceof Conversion }
deprecated abstract predicate partiallyDefines(Variable v);
abstract deprecated predicate partiallyDefines(Variable v);
deprecated abstract predicate partiallyDefinesThis(ThisExpr e);
abstract deprecated predicate partiallyDefinesThis(ThisExpr e);
/**
* Gets the subBasicBlock where this `PartialDefinition` is defined.