From 4b4c47c406eb3ef3500240b6347c32ebb1c45e36 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sun, 30 Jul 2017 08:12:05 +0000 Subject: [PATCH] DebugInfo: Group member variable along with the rest Committed in r309498 I didn't spot where the rest of the private members were in DWARFContext at the time - group them up again. llvm-svn: 309506 --- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h index 272f91cf954b..1ceca32e70e2 100644 --- a/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h +++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h @@ -83,6 +83,7 @@ class DWARFContext : public DIContext { StringMap> DWOFiles; std::weak_ptr DWP; bool CheckedForDWP = false; + std::string DWPName; /// Read compile units from the debug_info section (if necessary) /// and store them in CUs. @@ -102,13 +103,12 @@ class DWARFContext : public DIContext { protected: std::unique_ptr DObj; - std::string DWPName; public: DWARFContext(std::unique_ptr DObj, std::string DWPName = "") - : DIContext(CK_DWARF), DObj(std::move(DObj)), - DWPName(std::move(DWPName)) {} + : DIContext(CK_DWARF), DWPName(std::move(DWPName)), + DObj(std::move(DObj)) {} DWARFContext(DWARFContext &) = delete; DWARFContext &operator=(DWARFContext &) = delete;