[llvm] e0ff1e9 - [Bitcode] Remove unused declaration writeGlobalVariableMetadataAttachment (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 09:16:18 PDT 2021


Author: Kazu Hirata
Date: 2021-08-18T09:16:05-07:00
New Revision: e0ff1e965987198f5d3696a3d369ff708d81032e

URL: https://github.com/llvm/llvm-project/commit/e0ff1e965987198f5d3696a3d369ff708d81032e
DIFF: https://github.com/llvm/llvm-project/commit/e0ff1e965987198f5d3696a3d369ff708d81032e.diff

LOG: [Bitcode] Remove unused declaration writeGlobalVariableMetadataAttachment (NFC)

The declaration was introduced without a corresponding definition on
May 31, 2016 in commit cceae7feda8e33194d1a6c5963bd4114bb8d2b36.

Added: 
    

Modified: 
    llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index f7c186f16a873..ed2c66e874515 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -373,7 +373,6 @@ class ModuleBitcodeWriter : public ModuleBitcodeWriterBase {
   void writeModuleMetadata();
   void writeFunctionMetadata(const Function &F);
   void writeFunctionMetadataAttachment(const Function &F);
-  void writeGlobalVariableMetadataAttachment(const GlobalVariable &GV);
   void pushGlobalMetadataAttachment(SmallVectorImpl<uint64_t> &Record,
                                     const GlobalObject &GO);
   void writeModuleMetadataKinds();


        


More information about the llvm-commits mailing list