commit | 547d94c0203d42c878bd0477539481d9f8361922 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Aug 16 11:08:23 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Aug 16 11:08:23 2018 +0000 |
tree | 8b2bd85dc430b67bbd59164148cc1e21541f4cbc | |
parent | 7d16ffe5b760fd37404479b71ff338aa94214d4e [diff] |
[ADT] Replace APInt::WORD_MAX with APInt::WORDTYPE_MAX The windows SDK defines WORD_MAX, so any poor soul that wants to use LLVM in a project that depends on the windows SDK gets a build error. Given that it actually describes the maximal value of WordType, it actually fits even better than WORD_MAX Patch by: @miscco Differential Revision: https://reviews.llvm.org/D50777 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339863 91177308-0d34-0410-b5e6-96231b3b80d8