From: Kazu Hirata Date: Wed, 18 Aug 2021 16:16:05 +0000 (-0700) Subject: [Bitcode] Remove unused declaration writeGlobalVariableMetadataAttachment (NFC) X-Git-Tag: upstream/15.0.7~33605 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0ff1e965987198f5d3696a3d369ff708d81032e;p=platform%2Fupstream%2Fllvm.git [Bitcode] Remove unused declaration writeGlobalVariableMetadataAttachment (NFC) The declaration was introduced without a corresponding definition on May 31, 2016 in commit cceae7feda8e33194d1a6c5963bd4114bb8d2b36. --- 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();