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)
commit93f70b78fd8509536ff34fdf7343ad069e8dcef5
treefe878ee03b25a19ddb5088fea3357557a6bbdeae
parent83ecabe6e605421ae0b5a50c5e240b846ba52042
Use the enum value of the attributes when adding them to the attributes builder.

llvm-svn: 165494
llvm/include/llvm/Attributes.h
llvm/include/llvm/AttributesImpl.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Transforms/IPO/PruneEH.cpp
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
llvm/lib/Transforms/Scalar/ObjCARC.cpp
llvm/lib/VMCore/Attributes.cpp