[PATCH] D11272: Add a TrailingObjects template class.

James Y Knight jyknight at google.com
Thu Jul 16 11:06:23 PDT 2015


jyknight created this revision.
jyknight added reviewers: bogner, majnemer, rsmith.
jyknight added subscribers: rengolin, rnk, cfe-commits, llvm-commits.

This is intended to help support the idiom of a class that has some
other types (or arrays of types) appended on the end, which is used
quite heavily in clang.

http://reviews.llvm.org/D11272

Files:
  include/llvm/Support/TrailingObjects.h
  lib/IR/AttributeImpl.h
  lib/IR/Attributes.cpp
  unittests/Support/CMakeLists.txt
  unittests/Support/TrailingObjectsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11272.29926.patch
Type: text/x-patch
Size: 19481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150716/b4022128/attachment.bin>


More information about the cfe-commits mailing list