mirror of
https://github.com/github/codeql.git
synced 2026-08-03 17:03:02 +02:00
8 lines
175 B
Go
8 lines
175 B
Go
package main
|
|
|
|
// autoformat-ignore (otherwise gofmt will fix the spacing to reflect precedence)
|
|
|
|
func isBitSetBad(x int, pos uint) bool {
|
|
return x & 1<<pos != 0 // $ Alert
|
|
}
|