diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-08-16 11:08:23 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-08-16 11:08:23 +0000 |
commit | 8f46505beb83c39c3fafca55d0d740dc2f58f90e (patch) | |
tree | b54ab37c7728e44f79ffb672af49f1f7ccedaa3d /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp | |
parent | d6bd5983eed46607448dc1901f94691ba241d4ac (diff) | |
download | bcm5719-llvm-8f46505beb83c39c3fafca55d0d740dc2f58f90e.tar.gz bcm5719-llvm-8f46505beb83c39c3fafca55d0d740dc2f58f90e.zip |
[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
llvm-svn: 339863
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp')
0 files changed, 0 insertions, 0 deletions