[PATCH] D54472: Disable invalid isPodLike<> specialization
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 19 02:13:51 PST 2018
serge-sans-paille updated this revision to Diff 174571.
serge-sans-paille added a comment.
Herald added subscribers: arphaman, MatzeB.
@dblaikie I made a step forward and just relied on std::is_trivially_copyable and disabled specialization of isPodLike (using a type alias). That way the trait is always valid, and the logic is not split among different files.
https://reviews.llvm.org/D54472
Files:
include/llvm/ADT/ArrayRef.h
include/llvm/ADT/ImmutableList.h
include/llvm/ADT/Optional.h
include/llvm/ADT/PointerIntPair.h
include/llvm/ADT/StringRef.h
include/llvm/Analysis/BlockFrequencyInfoImpl.h
include/llvm/Bitcode/BitCodes.h
include/llvm/CodeGen/RegisterPressure.h
include/llvm/CodeGen/ScheduleDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/CodeGen/SlotIndexes.h
include/llvm/CodeGen/TargetPassConfig.h
include/llvm/IR/CFG.h
include/llvm/IR/ValueHandle.h
include/llvm/MC/MCInst.h
include/llvm/Support/ScaledNumber.h
include/llvm/Support/type_traits.h
lib/Transforms/Scalar/SROA.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54472.174571.patch
Type: text/x-patch
Size: 10698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181119/7c727f7f/attachment.bin>
More information about the llvm-commits
mailing list