aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-08-19 14:38:06 -0700
committerArthur Eubanks <aeubanks@google.com>2021-08-20 09:46:30 -0700
commit0f45c16f2caa7c035e5c3edd40af9e0d51ad6ba7 (patch)
tree9d9b329acdab572f0c1c1961abc4dc50c522d11d /llvm/lib/IR/Function.cpp
parent35d4292a734b83e63c19f4f390f47e5a18094204 (diff)
downloadllvm-0f45c16f2caa7c035e5c3edd40af9e0d51ad6ba7.zip
llvm-0f45c16f2caa7c035e5c3edd40af9e0d51ad6ba7.tar.gz
llvm-0f45c16f2caa7c035e5c3edd40af9e0d51ad6ba7.tar.bz2
[NFC] Remove some unused functions
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
-rw-r--r--llvm/lib/IR/Function.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/IR/Function.cpp b/llvm/lib/IR/Function.cpp
index a49350f..9313c49 100644
--- a/llvm/lib/IR/Function.cpp
+++ b/llvm/lib/IR/Function.cpp
@@ -533,14 +533,6 @@ void Function::addAttribute(unsigned i, Attribute Attr) {
AttributeSets = AttributeSets.addAttribute(getContext(), i, Attr);
}
-void Function::addAttribute(unsigned i, Attribute::AttrKind Attr) {
- AttributeSets = AttributeSets.addAttribute(getContext(), i, Attr);
-}
-
-void Function::addAttributes(unsigned i, const AttrBuilder &Attrs) {
- AttributeSets = AttributeSets.addAttributes(getContext(), i, Attrs);
-}
-
void Function::addFnAttr(Attribute::AttrKind Kind) {
AttributeSets = AttributeSets.addFnAttribute(getContext(), Kind);
}