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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits