OSDN Git Service

ModuleSummaryIndex: Avoid enum bitfields for MSVC portability
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 Apr 2016 14:25:37 +0000 (14:25 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 Apr 2016 14:25:37 +0000 (14:25 +0000)
commit311d89d774c304cb3ab80fb3513c376b83a3b71a
tree3a2b1268b050a9807072f802a872e7f995e3bb9b
parent879fccddd39dd9141b3acb1a5feb913f0977c182
ModuleSummaryIndex: Avoid enum bitfields for MSVC portability

Enum bitfields have crazy portability issues with MSVC.  Use unsigned
instead of LinkageTypes here in the ModuleSummaryIndex to address
Takumi's concerns from r267335.

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