[PATCH] D31890: Add support for unique_ptr<T> to dyn_cast<>
Zachary Turner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 17:15:29 PDT 2017
zturner updated this revision to Diff 94759.
zturner added a comment.
Updated this so that `isa<B>(const unique_ptr<A>&)` works. Will commit tomorrow afternoon if nobody has objections.
https://reviews.llvm.org/D31890
Files:
llvm/include/llvm/Support/Casting.h
llvm/unittests/Support/Casting.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31890.94759.patch
Type: text/x-patch
Size: 3187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170411/eae74b03/attachment.bin>
More information about the llvm-commits
mailing list