ADT/InMemoryStruct: Add an experimental helper class intended for use in
authorDaniel Dunbar <daniel@zuster.org>
Sat, 27 Nov 2010 08:11:02 +0000 (08:11 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 27 Nov 2010 08:11:02 +0000 (08:11 +0000)
commit4581dae9ea6d21da0a584aad9f1143343bb7c32e
tree4758a696a38343ffa8cc203621e7617d0cec9bfa
parent10a049e6cf50eb9a1dddae49dc21513cfeddcb47
ADT/InMemoryStruct: Add an experimental helper class intended for use in
situations where on the common path an API can return a pointer to some direct
memory, but which on an exceptional path may need to return a pointer to a
temporary struct.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120201 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/InMemoryStruct.h [new file with mode: 0644]