Skip to content

Commit fc6e318

Browse files
committed
add missing doc strings
1 parent 7cbaa11 commit fc6e318

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

shared/dataflow/codeql/dataflow/VariableCapture.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ module Flow<
214214
final private class CfgBb = Cfg::BasicBlock;
215215

216216
private class BasicBlock extends CfgBb {
217+
/** Gets the callable that contains this basic block. */
217218
Callable getEnclosingCallable() { result = basicBlockGetEnclosingCallable(this) }
218219
}
219220

shared/util/codeql/util/Option.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ module LocatableOption<LocationSig Location, WithLocation<Location>::LocatableTy
128128
* given type.
129129
*/
130130
class Option extends BaseOption {
131+
/** Gets the location of this option. For `None`, returns an empty location. */
131132
Location getLocation() {
132133
result = this.asSome().getLocation()
133134
or

0 commit comments

Comments
 (0)