[PATCH] D92924: Add opaque Handle infrastructure
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 9 02:44:09 PST 2020
nhaehnle created this revision.
Herald added a subscriber: dexonsmith.
nhaehnle requested review of this revision.
Herald added a project: LLVM.
This infrastructure is a foundation for writing some algorithms
generically without resorting to templates, by treating "references"
(usually pointers) to objects such as basic blocks as opaque handles.
Subsequent changes will add more mechanisms to facilitate working with
such handles, and introduce type-erased base classes in some places
(e.g. dominator trees) in terms of handles.
Change-Id: I79e69589e972e97335189f9558ebe44c7b00771b
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92924
Files:
llvm/include/llvm/Support/Handle.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92924.310469.patch
Type: text/x-patch
Size: 13382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201209/3237a0a3/attachment-0001.bin>
More information about the llvm-commits
mailing list