[llvm-commits] [llvm] r173106 - /llvm/trunk/include/llvm/IR/Function.h
Bill Wendling
isanbard at gmail.com
Mon Jan 21 15:41:50 PST 2013
Author: void
Date: Mon Jan 21 17:41:50 2013
New Revision: 173106
URL: http://llvm.org/viewvc/llvm-project?rev=173106&view=rev
Log:
Remove unused method.
Modified:
llvm/trunk/include/llvm/IR/Function.h
Modified: llvm/trunk/include/llvm/IR/Function.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Function.h?rev=173106&r1=173105&r2=173106&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Function.h (original)
+++ llvm/trunk/include/llvm/IR/Function.h Mon Jan 21 17:41:50 2013
@@ -171,17 +171,9 @@
/// addFnAttr - Add function attributes to this function.
///
void addFnAttr(Attribute::AttrKind N) {
- // Function Attribute are stored at ~0 index
addAttribute(AttributeSet::FunctionIndex, Attribute::get(getContext(), N));
}
- /// removeFnAttr - Remove function attributes from this function.
- ///
- void removeFnAttr(Attribute N) {
- // Function Attribute are stored at ~0 index
- removeAttribute(~0U, N);
- }
-
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm
/// to use during code generation.
bool hasGC() const;
More information about the llvm-commits
mailing list