Skip to content

Commit 52da575

Browse files
committed
C++: Respond to review comments.
1 parent 3d27b6b commit 52da575

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

cpp/ql/src/semmle/code/cpp/controlflow/BasicBlocks.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides a library for reasoning about control-flow at the granularity of basic blocks.
2+
* Provides a library for reasoning about control flow at the granularity of basic blocks.
33
* This is usually much more efficient than reasoning directly at the level of `ControlFlowNode`s.
44
*/
55

@@ -159,13 +159,13 @@ class BasicBlock extends ControlFlowNodeBase {
159159
/** Gets the `ControlFlowNode` at position `pos` in this basic block. */
160160
ControlFlowNode getNode(int pos) { basic_block_member(result, this, pos) }
161161

162-
/** Gets all `ControlFlowNode`s in this basic block. */
162+
/** Gets a `ControlFlowNode` in this basic block. */
163163
ControlFlowNode getANode() { basic_block_member(result, this, _) }
164164

165-
/** Gets all `BasicBlock`s that are direct successors of this basic block. */
165+
/** Gets a `BasicBlock` that is a direct successor of this basic block. */
166166
BasicBlock getASuccessor() { bb_successor(this, result) }
167167

168-
/** Gets all `BasicBlock`s that are direct predecessors of this basic block. */
168+
/** Gets a `BasicBlock` that is a direct predecessor of this basic block. */
169169
BasicBlock getAPredecessor() { bb_successor(result, this) }
170170

171171
/**

cpp/ql/src/semmle/code/cpp/controlflow/ControlFlowGraph.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides a library for reasoning about control-flow at the granularity of
2+
* Provides a library for reasoning about control flow at the granularity of
33
* individual nodes in the control-flow graph.
44
*/
55

0 commit comments

Comments
 (0)