Skip to content

Commit 5fb79cd

Browse files
committed
C++: Sync identical files
1 parent 0671586 commit 5fb79cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ class SubBasicBlock extends ControlFlowNodeBase {
168168
/** Gets the first control-flow node in this `SubBasicBlock`. */
169169
ControlFlowNode getStart() { result = this }
170170

171+
/** Gets the function that contains this `SubBasicBlock`. */
171172
pragma[noinline]
172173
Function getEnclosingFunction() { result = this.getStart().getControlFlowScope() }
173174
}

0 commit comments

Comments
 (0)