OSDN Git Service

Use a bool instead of a bitfield in llvm/ADT/Optional.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 2 Jan 2013 21:19:08 +0000 (21:19 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 2 Jan 2013 21:19:08 +0000 (21:19 +0000)
commit23203faf0b36c263248f5b265530c56974d93c98
treefc6754b2e789fe9653dfae57511c86c0f1eb415e
parent39227578242d96bc67e4ee1a408bfc0d83c6aa24
Use a bool instead of a bitfield in llvm/ADT/Optional.

Fixes Valgrind failures and removes bitwise operations that don't provide any benefit.
Valgrind failures reported by NAKAMURA Takumi.

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