From c61ea69455031530ca8d6baa3b256749b210bbe1 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 3 Nov 2026 10:55:15 +0000 Subject: [PATCH] Go: stabilize build constraint predicate evaluation --- go/ql/lib/semmle/go/Files.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/ql/lib/semmle/go/Files.qll b/go/ql/lib/semmle/go/Files.qll index ab4e2e084ed0..68bb00073e05 100644 --- a/go/ql/lib/semmle/go/Files.qll +++ b/go/ql/lib/semmle/go/Files.qll @@ -68,7 +68,7 @@ class ExtractedOrExternalFile extends Container, Impl::File, Documentable, ExprP string getPackageName() { result = this.getPackageNameExpr().getName() } /** Holds if this file contains at least one build constraint. */ - pragma[noinline] + pragma[nomagic] predicate hasBuildConstraints() { exists(BuildConstraintComment bc | this = bc.getFile()) } /**