Re: [libcxx] r307751 - Fix unrepresentable enum for clang-cl unstable ABI

2017-07-11 Thread Shoaib Meenai via cfe-commits
: Tuesday, July 11, 2017 at 10:57 PM To: Ben Craig Cc: cfe-commits Subject: Re: [libcxx] r307751 - Fix unrepresentable enum for clang-cl unstable ABI FWIW, I think you could just give the enum an explicit underlying type of size_type. On Tue, Jul 11, 2017 at 6:45 PM, Ben Craig via cfe-commits

Re: [libcxx] r307751 - Fix unrepresentable enum for clang-cl unstable ABI

2017-07-11 Thread David Majnemer via cfe-commits
FWIW, I think you could just give the enum an explicit underlying type of size_type. On Tue, Jul 11, 2017 at 6:45 PM, Ben Craig via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: bcraig > Date: Tue Jul 11 18:45:13 2017 > New Revision: 307751 > > URL: http://llvm.org/viewvc/llvm-projec

[libcxx] r307751 - Fix unrepresentable enum for clang-cl unstable ABI

2017-07-11 Thread Ben Craig via cfe-commits
Author: bcraig Date: Tue Jul 11 18:45:13 2017 New Revision: 307751 URL: http://llvm.org/viewvc/llvm-project?rev=307751&view=rev Log: Fix unrepresentable enum for clang-cl unstable ABI When using LIBCXX_ABI_UNSTABLE=YES, clang-cl gave the following warning: P:\llvm_master\src\llvm\projects\libcxx