[lld] r318880 - MachONormalizedFile.h: Remove unimplemented function

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 22 13:10:19 PST 2017


Author: dblaikie
Date: Wed Nov 22 13:10:19 2017
New Revision: 318880

URL: http://llvm.org/viewvc/llvm-project?rev=318880&view=rev
Log:
MachONormalizedFile.h: Remove unimplemented function

dump had no definition, so op<< was never usable anyway - remove the
definition of the latter and the declaration of the former.

Modified:
    lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFile.h

Modified: lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFile.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFile.h?rev=318880&r1=318879&r2=318880&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFile.h (original)
+++ lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFile.h Wed Nov 22 13:10:19 2017
@@ -124,15 +124,6 @@ struct Section {
   ArrayRef<uint8_t> content;
   Relocations     relocations;
   IndirectSymbols indirectSymbols;
-
-#ifndef NDEBUG
-  raw_ostream& operator<<(raw_ostream &OS) const {
-    dump(OS);
-    return OS;
-  }
-
-  void dump(raw_ostream &OS = llvm::dbgs()) const;
-#endif
 };
 
 




More information about the llvm-commits mailing list