[PATCH] D60473: [LLVM-C] Use dyn_cast instead of unwrap in LLVMGetDebugLoc functions

Josh Berdine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 14:05:28 PDT 2019


jberdine added a comment.

AFAIU D60484 <https://reviews.llvm.org/D60484> is about the accessors for the current debug location used by builders, while this diff's functions are about reading the debug info from existing IR values.

But given that these are redundant, as seen in D52239 <https://reviews.llvm.org/D52239>, shall we just remove them?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D60473





More information about the llvm-commits mailing list