[lld] r280941 - Use a protected destructor instead of a virtual one.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 9 00:46:20 PDT 2016
>class LinkerScriptBase {
>+protected:
>+ ~LinkerScriptBase() = default;
>+
> public:
>- virtual ~LinkerScriptBase() = default;
> virtual uint64_t getOutputSectionAddress(StringRef Name) = 0;
> virtual uint64_t getOutputSectionSize(StringRef Name) = 0;
> virtual uint64_t getOutputSectionAlign(StringRef Name) = 0;
Nice solution, thanks !
George.
More information about the llvm-commits
mailing list