[PATCH] D123901: [LLVM][Casting.h] Allow dyn_cast to return Optional for types that are not constructble from nullptr.

Aman LaChapelle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 16 11:43:17 PDT 2022


bzcheeseman updated this revision to Diff 423250.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123901/new/

https://reviews.llvm.org/D123901

Files:
  llvm/include/llvm/Support/Casting.h
  llvm/unittests/Support/Casting.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123901.423250.patch
Type: text/x-patch
Size: 6327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220416/be3af75c/attachment.bin>


More information about the llvm-commits mailing list