Add an enum for the return and function indexes into the AttrListPtr object. This...
authorBill Wendling <isanbard@gmail.com>
Mon, 15 Oct 2012 07:29:08 +0000 (07:29 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 15 Oct 2012 07:29:08 +0000 (07:29 +0000)
commit07aae2e7d58fe23e370e0cbb9e1a3def99434c36
tree9961bc6b914ce55768f0ea5d168fb892894ca9db
parentad4643f54ba52d1f93426a9853934df8ce3271a0
Add an enum for the return and function indexes into the AttrListPtr object. This gets rid of some magic numbers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165924 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/Attributes.h
include/llvm/Instructions.h
lib/AsmParser/LLParser.cpp
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/IPO/FunctionAttrs.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Scalar/ObjCARC.cpp
lib/Transforms/Utils/BuildLibCalls.cpp
lib/Transforms/Utils/CloneFunction.cpp
lib/VMCore/Core.cpp
lib/VMCore/Instructions.cpp
utils/TableGen/IntrinsicEmitter.cpp