[PATCH] D54472: Disable invalid isPodLike<> specialization

Sylvestre Ledru via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 21 04:49:11 PST 2019


sylvestre.ledru added a comment.

@serge-sans-paille 
This (probably) broke LLVM on Debian jessie. It fails with:

/build/llvm-toolchain-snapshot-9~svn351724/include/llvm/ADT/PointerIntPair.h: In instantiation of 'struct llvm::PointerIntPairInfo<clang::Module*, 2u, llvm::PointerLikeTypeTraits<clang::Module*> >':
/build/llvm-toolchain-snapshot-9~svn351724/tools/clang/include/clang/Lex/ModuleMap.h:158:29:   required from here
/build/llvm-toolchain-snapshot-9~svn351724/include/llvm/ADT/PointerIntPair.h:133:3: error: static assertion failed: PointerIntPair with integer size too large for pointer

  static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
  ^


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54472/new/

https://reviews.llvm.org/D54472





More information about the llvm-commits mailing list