[PATCH] D91519: [AST][Mach0] Fix unused-variable warnings
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 16 06:40:44 PST 2020
arsenm added inline comments.
================
Comment at: lld/MachO/SymbolTable.cpp:137
// error message.
- if (auto *defined = dyn_cast<Defined>(s))
+ if (dyn_cast<Defined>(s))
error("found defined symbol with illegal name " + DSOHandle::name);
----------------
Should use isa
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91519/new/
https://reviews.llvm.org/D91519
More information about the cfe-commits
mailing list