Skip to content

Commit c61ea69

Browse files
committed
Go: stabilize build constraint predicate evaluation
1 parent 59bd591 commit c61ea69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎go/ql/lib/semmle/go/Files.qll‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ExtractedOrExternalFile extends Container, Impl::File, Documentable, ExprP
6868
string getPackageName() { result = this.getPackageNameExpr().getName() }
6969

7070
/** Holds if this file contains at least one build constraint. */
71-
pragma[noinline]
71+
pragma[nomagic]
7272
predicate hasBuildConstraints() { exists(BuildConstraintComment bc | this = bc.getFile()) }
7373

7474
/**

0 commit comments

Comments
 (0)