From e0ff1e965987198f5d3696a3d369ff708d81032e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 18 Aug 2021 09:16:05 -0700 Subject: [PATCH] [Bitcode] Remove unused declaration writeGlobalVariableMetadataAttachment (NFC) The declaration was introduced without a corresponding definition on May 31, 2016 in commit cceae7feda8e33194d1a6c5963bd4114bb8d2b36. --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index f7c186f..ed2c66e 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -373,7 +373,6 @@ private: void writeModuleMetadata(); void writeFunctionMetadata(const Function &F); void writeFunctionMetadataAttachment(const Function &F); - void writeGlobalVariableMetadataAttachment(const GlobalVariable &GV); void pushGlobalMetadataAttachment(SmallVectorImpl &Record, const GlobalObject &GO); void writeModuleMetadataKinds(); -- 2.7.4