[PATCH] D94538: [ELF][NFCI] small cleanup to OutputSections.h
Bob Haarman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 11:40:53 PST 2021
inglorion created this revision.
inglorion added reviewers: MaskRay, grimar.
Herald added subscribers: arichardson, emaste.
Herald added a reviewer: espindola.
inglorion requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
OutputSections.h used to close the lld::elf namespace only to
immediately open it again. This change merges both parts into
one.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94538
Files:
lld/ELF/OutputSections.h
Index: lld/ELF/OutputSections.h
===================================================================
--- lld/ELF/OutputSections.h
+++ lld/ELF/OutputSections.h
@@ -135,12 +135,6 @@
static OutputSection *finiArray;
};
-} // namespace elf
-} // namespace lld
-
-namespace lld {
-namespace elf {
-
uint64_t getHeaderSize();
extern std::vector<OutputSection *> outputSections;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94538.316178.patch
Type: text/x-patch
Size: 381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/ca326182/attachment.bin>
More information about the llvm-commits
mailing list