[PATCH] D50777: [ADT] Replace APInt::WORD_MAX with APInt::WORDTYPE_MAX
Michael Schellenberger Costa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 15 07:00:50 PDT 2018
miscco created this revision.
Herald added subscribers: llvm-commits, dexonsmith.
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
Repository:
rL LLVM
https://reviews.llvm.org/D50777
Files:
include/llvm/ADT/APInt.h
lib/Support/APInt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50777.160798.patch
Type: text/x-patch
Size: 6156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/c6eb0f79/attachment.bin>
More information about the llvm-commits
mailing list