From 87f3c92a7f6af9f42ed8e37a559839feab9855d9 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 2 Jun 2026 00:41:48 +0100 Subject: [PATCH] Add missing QLDocs --- go/ql/lib/semmle/go/frameworks/Glog.qll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/ql/lib/semmle/go/frameworks/Glog.qll b/go/ql/lib/semmle/go/frameworks/Glog.qll index 8883e47e686..9715cc91073 100644 --- a/go/ql/lib/semmle/go/frameworks/Glog.qll +++ b/go/ql/lib/semmle/go/frameworks/Glog.qll @@ -12,6 +12,7 @@ import go * forks. */ module Glog { + /** Gets a package name for `glog` or `klog` (which is a fork). */ string packagePath() { result = package([ @@ -55,6 +56,7 @@ module Glog { */ int getFirstPrintedArg() { result = firstPrintedArg } + /** Holds if this function takes a format string. */ predicate formatter() { format = "f" } override predicate mayReturnNormally() { level != "Fatal" and level != "Exit" }