[llvm-branch-commits] [lld] 6166b91 - [ELF][NFCI] small cleanup to OutputSections.h
Bob Haarman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 12 15:15:04 PST 2021
Author: Bob Haarman
Date: 2021-01-12T23:09:16Z
New Revision: 6166b91e83716fbe930b2dc4e2a2217c52ee31a7
URL: https://github.com/llvm/llvm-project/commit/6166b91e83716fbe930b2dc4e2a2217c52ee31a7
DIFF: https://github.com/llvm/llvm-project/commit/6166b91e83716fbe930b2dc4e2a2217c52ee31a7.diff
LOG: [ELF][NFCI] small cleanup to OutputSections.h
OutputSections.h used to close the lld::elf namespace only to
immediately open it again. This change merges both parts into
one.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D94538
Added:
Modified:
lld/ELF/OutputSections.h
Removed:
################################################################################
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h
index 39bf48c091ca..69b7944d946a 100644
--- a/lld/ELF/OutputSections.h
+++ b/lld/ELF/OutputSections.h
@@ -135,12 +135,6 @@ struct Out {
static OutputSection *finiArray;
};
-} // namespace elf
-} // namespace lld
-
-namespace lld {
-namespace elf {
-
uint64_t getHeaderSize();
extern std::vector<OutputSection *> outputSections;
More information about the llvm-branch-commits
mailing list