From: Adrian Prantl Date: Mon, 11 Aug 2014 21:06:03 +0000 (+0000) Subject: Debug info: Remove an obsolete constructor from DebugLocEntry. X-Git-Tag: v01.01.07.01~5170 X-Git-Url: https://git.ti.com/gitweb?p=opencl%2Fllvm.git;a=commitdiff_plain;h=7189d07d62ad807cbe2a5f6ccdfdb308872ed96a;ds=sidebyside Debug info: Remove an obsolete constructor from DebugLocEntry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215387 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/lib/CodeGen/AsmPrinter/DebugLocEntry.h index ba05aa7115..e90c43e9dd 100644 --- a/lib/CodeGen/AsmPrinter/DebugLocEntry.h +++ b/lib/CodeGen/AsmPrinter/DebugLocEntry.h @@ -94,11 +94,11 @@ public: const MDNode *getVariable() const { return Variable; } }; private: - /// A list of locations/constants belonging to this entry, sorted by offset. + /// A nonempty list of locations/constants belonging to this entry, + /// sorted by offset. SmallVector Values; public: - DebugLocEntry() : Begin(nullptr), End(nullptr) {} DebugLocEntry(const MCSymbol *B, const MCSymbol *E, Value Val) : Begin(B), End(E) { Values.push_back(std::move(Val));