[PATCH] D99365: [lld-macho][nfc] Removed unnecessary static_cast
Vy Nguyen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 25 12:08:24 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2f34cc330e2: [lld-macho][nfc] Removed unnecessary static_cast (authored by oontvoo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99365/new/
https://reviews.llvm.org/D99365
Files:
lld/MachO/Symbols.h
Index: lld/MachO/Symbols.h
===================================================================
--- lld/MachO/Symbols.h
+++ lld/MachO/Symbols.h
@@ -43,7 +43,7 @@
virtual ~Symbol() {}
- Kind kind() const { return static_cast<Kind>(symbolKind); }
+ Kind kind() const { return symbolKind; }
StringRef getName() const {
if (nameSize == (uint32_t)-1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99365.333386.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210325/cc3d74c2/attachment.bin>
More information about the llvm-commits
mailing list