Use the enum value of the attributes when removing them from the attributes builder.
authorBill Wendling <isanbard@gmail.com>
Tue, 9 Oct 2012 09:17:28 +0000 (09:17 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 9 Oct 2012 09:17:28 +0000 (09:17 +0000)
commit1c1b324ccf37a0c1001bce1958bb601e9cdd083c
treeacbf42dc3db2c304cbfd72b2ac1cafd51c3928e0
parent93f70b78fd8509536ff34fdf7343ad069e8dcef5
Use the enum value of the attributes when removing them from the attributes builder.

llvm-svn: 165495
llvm/include/llvm/Attributes.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/VMCore/Attributes.cpp