[PATCH] D12439: Rewrite the TrailingObjects template to provide two new features:
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 28 10:56:01 PDT 2015
jyknight created this revision.
jyknight added a reviewer: rsmith.
jyknight added a subscriber: llvm-commits.
- Automatic alignment of the base type for the alignment requirements
of the trailing types.
- Support for an arbitrary numbers of trailing types, instead of only
1 or 2, by using a variadic template implementation.
http://reviews.llvm.org/D12439
Files:
include/llvm/Support/TrailingObjects.h
unittests/Support/TrailingObjectsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12439.33443.patch
Type: text/x-patch
Size: 17516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150828/345e572d/attachment.bin>
More information about the llvm-commits
mailing list