[PATCH] D65431: [lld] Simplify the code in SymbolTable::reportUnresolvable

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 22:54:57 PDT 2019


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

There is actually a newly added `isa_and_nonnull`. I don't use it because its functionality is covered by `dyn_cast_or_null` which is more common... The description should probably just mention that this patch simplifies a pattern with `dyn_cast_or_null`.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D65431





More information about the llvm-commits mailing list