Use the enum value of the attributes when adding them to the attributes builder.
authorBill Wendling <isanbard@gmail.com>
Tue, 9 Oct 2012 09:11:20 +0000 (09:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 9 Oct 2012 09:11:20 +0000 (09:11 +0000)
commit2e879bcd52583335c753c005d203bf2ffe8b67b5
tree519df78db10304e80747bbaecab158bc53664152
parente97a3a4b4fccbe6283b616af93ab0117d3a7fee9
Use the enum value of the attributes when adding them to the attributes builder.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165494 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Attributes.h
include/llvm/AttributesImpl.h
lib/AsmParser/LLParser.cpp
lib/Transforms/IPO/PruneEH.cpp
lib/Transforms/Instrumentation/GCOVProfiling.cpp
lib/Transforms/Scalar/ObjCARC.cpp
lib/VMCore/Attributes.cpp