]> Cypherpunks repositories - gostls13.git/commit
all: use &^ operator if possible
authorMarvin Stenger <marvin.stenger94@gmail.com>
Tue, 29 Mar 2016 12:09:22 +0000 (14:09 +0200)
committerIan Lance Taylor <iant@golang.org>
Tue, 29 Mar 2016 14:28:41 +0000 (14:28 +0000)
commitd0fb649713e6435cb854fcb202c6979c8a137c0b
tree29dde456b2e6a71fbbee769c600d36b4632d9474
parentd733cef728e452eb50cc6bcb343cf0f753df57bb
all: use &^ operator if possible

This is a change improving consistency in the source tree.
The pattern foo &= ^bar, was only used six times in src/ directory.
The usage of the supported &^ (bit clear / AND NOT) operator is way more
common, about factor 10x.

Change-Id: If26a2994fd81d23d42189bee00245eb84e672cf3
Reviewed-on: https://go-review.googlesource.com/21224
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/gsubr.go
src/cmd/link/internal/ld/link.go
src/crypto/elliptic/p256.go
src/syscall/exec_unix.go
src/syscall/lsf_linux.go