[llvm-commits] [llvm] r171295 - /llvm/trunk/include/llvm/Attributes.h
Bill Wendling
isanbard at gmail.com
Mon Dec 31 03:52:55 PST 2012
Author: void
Date: Mon Dec 31 05:52:55 2012
New Revision: 171295
URL: http://llvm.org/viewvc/llvm-project?rev=171295&view=rev
Log:
Remove dead method.
Modified:
llvm/trunk/include/llvm/Attributes.h
Modified: llvm/trunk/include/llvm/Attributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Attributes.h?rev=171295&r1=171294&r2=171295&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Attributes.h (original)
+++ llvm/trunk/include/llvm/Attributes.h Mon Dec 31 05:52:55 2012
@@ -333,12 +333,6 @@
return getAttributes(FunctionIndex);
}
- /// \brief Return true if the specified parameter index has the specified
- /// attribute set.
- bool paramHasAttr(unsigned Idx, Attribute Attr) const {
- return getAttributes(Idx).hasAttributes(Attr);
- }
-
/// \brief Return the alignment for the specified function parameter.
unsigned getParamAlignment(unsigned Idx) const {
return getAttributes(Idx).getAlignment();
More information about the llvm-commits
mailing list