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)
commitdc4efcbdba7b9a8868ca7e329116910be894ca47
treefab1682fc936b5ee31fec1591347150f11ddf362
parent2e879bcd52583335c753c005d203bf2ffe8b67b5
Use the enum value of the attributes when removing them from the attributes builder.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165495 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Attributes.h
lib/AsmParser/LLParser.cpp
lib/VMCore/Attributes.cpp