aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2021-08-18 09:16:05 -0700
committerKazu Hirata <kazu@google.com>2021-08-18 09:16:05 -0700
commite0ff1e965987198f5d3696a3d369ff708d81032e (patch)
tree5601a0d9dcb0851025d6b4ebc2094600eab5bae9 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent219d4518fce9aafcb5eba9b92fb778837f0a4827 (diff)
downloadllvm-e0ff1e965987198f5d3696a3d369ff708d81032e.zip
llvm-e0ff1e965987198f5d3696a3d369ff708d81032e.tar.gz
llvm-e0ff1e965987198f5d3696a3d369ff708d81032e.tar.bz2
[Bitcode] Remove unused declaration writeGlobalVariableMetadataAttachment (NFC)
The declaration was introduced without a corresponding definition on May 31, 2016 in commit cceae7feda8e33194d1a6c5963bd4114bb8d2b36.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp1
1 files changed, 0 insertions, 1 deletions
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<uint64_t> &Record,
const GlobalObject &GO);
void writeModuleMetadataKinds();