OSDN Git Service

The expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not do what
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 21 Apr 2007 14:32:59 +0000 (14:32 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 21 Apr 2007 14:32:59 +0000 (14:32 +0000)
commit68c773cf193ceb5060b5130a64b43388b34b4ec9
tree3bb646ee5c028a437baa79a7dcba1cb14b6a6a6a
parent2330e4d4c4f8008d17f5a38ac0d7b04e139d4131
The expression "SubclassData = (SubclassData & ~1) | (V) ? 1 : 0;" does not do what
was intended!  | has higher precedence than ?.  Caught by Visual Studio.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36302 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Instructions.h