We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pragma[nomagic]
hasBuildConstraints
1 parent 4b095f3 commit 6fdc602Copy full SHA for 6fdc602
1 file changed
go/ql/lib/semmle/go/Files.qll
@@ -69,6 +69,7 @@ class ExtractedOrExternalFile extends Container, Impl::File, Documentable, ExprP
69
70
/** Holds if this file contains at least one build constraint. */
71
pragma[noinline]
72
+ pragma[nomagic]
73
predicate hasBuildConstraints() { exists(BuildConstraintComment bc | this = bc.getFile()) }
74
75
/**
0 commit comments