Skip to content

Commit 2be73c0

Browse files
committed
Add missing QLDoc
1 parent 13675c4 commit 2be73c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/ql/lib/semmle/go/Expr.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,7 @@ class ConstantName extends ValueName {
20432043
override string getAPrimaryQlClass() { result = "ConstantName" }
20442044
}
20452045

2046+
/** Holds if `e` is an expression that refers to the `nil` constant. */
20462047
predicate exprRefersToNil(Expr e) { e.(ConstantName).getTarget() = Builtin::nil() }
20472048

20482049
/**

0 commit comments

Comments
 (0)