From 575f66cf5e1be238226970fcd84fdae59d41fd18 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 19 May 2025 21:37:48 -0700 Subject: [PATCH] [lld] Drop const from a return type (NFC) (#140667) --- lld/ELF/SyntheticSections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h index c977562f0b17..5f0151363059 100644 --- a/lld/ELF/SyntheticSections.h +++ b/lld/ELF/SyntheticSections.h @@ -1324,7 +1324,7 @@ public: std::optional addr = std::nullopt) : sym(sym), acleSeSym(acleSeSym), entAddr{addr} {} static const size_t size{ACLESESYM_SIZE}; - const std::optional getAddr() const { return entAddr; }; + std::optional getAddr() const { return entAddr; }; Symbol *sym; Symbol *acleSeSym;