barannikov88 added inline comments.
================
Comment at: llvm/lib/Passes/StandardInstrumentations.cpp:193
- if (any_isa<const Function *>(IR)) {
- const Function *F = any_cast<const Function *>(IR);
- return F->getName().str();
+ if (const auto **F = any_cast<const Function *>(&IR)) {
+ return (*F)->getName().str();
----------------
Redundant braces.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139973/new/
https://reviews.llvm.org/D139973
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits