mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 02:56:49 +00:00
Fix build breakage on 32-bit machines
llvm-svn: 361917
This commit is contained in:
parent
360ead7648
commit
82705e7d52
@ -237,7 +237,10 @@ struct __type_info_implementations {
|
||||
}
|
||||
|
||||
private:
|
||||
typedef std::integral_constant<__type_name_t, (1ULL << 63)> __non_unique_rtti_bit;
|
||||
// The unique bit is the top bit. It is expected that __type_name_t is 64 bits when
|
||||
// this implementation is actually used.
|
||||
typedef std::integral_constant<__type_name_t,
|
||||
(1ULL << ((__CHAR_BIT__ * sizeof(__type_name_t)) - 1))> __non_unique_rtti_bit;
|
||||
|
||||
_LIBCPP_INLINE_VISIBILITY
|
||||
static bool __is_type_name_unique(__type_name_t __lhs) _NOEXCEPT {
|
||||
|
Loading…
x
Reference in New Issue
Block a user