C++: Sync identical files

This commit is contained in:
Mathias Vorreiter Pedersen
2020-05-28 16:45:52 +02:00
parent 0671586aac
commit 5fb79cde9a

View File

@@ -168,6 +168,7 @@ class SubBasicBlock extends ControlFlowNodeBase {
/** Gets the first control-flow node in this `SubBasicBlock`. */
ControlFlowNode getStart() { result = this }
/** Gets the function that contains this `SubBasicBlock`. */
pragma[noinline]
Function getEnclosingFunction() { result = this.getStart().getControlFlowScope() }
}