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)
commitfbd38fe2e34e5c4d0415514e24bacc02d6876540
treece0f987edf3c2ab631d2756d27eae8f7a2b65e03
parent79d45dbbf91df0b0d9c9b8c04a551bf652730bce
Add an enum for the return and function indexes into the AttrListPtr object. This gets rid of some magic numbers.

llvm-svn: 165924
13 files changed:
llvm/include/llvm/Attributes.h
llvm/include/llvm/Instructions.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/IPO/FunctionAttrs.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/lib/Transforms/Scalar/ObjCARC.cpp
llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/lib/Transforms/Utils/CloneFunction.cpp
llvm/lib/VMCore/Core.cpp
llvm/lib/VMCore/Instructions.cpp
llvm/utils/TableGen/IntrinsicEmitter.cpp