Have 'addFnAttr' take the attribute enum value. Then have it build the attribute...
authorBill Wendling <isanbard@gmail.com>
Wed, 10 Oct 2012 03:13:20 +0000 (03:13 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 10 Oct 2012 03:13:20 +0000 (03:13 +0000)
commit73e465e148e1fef84197388ca90e995edcdbedc5
tree9afa985a9939b04584d3ebf2ad5dd19e70da9ca1
parentf319e9905fbddc2cf83a9c82734f4591a6ba8d89
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change.

llvm-svn: 165596
clang/lib/CodeGen/CGClass.cpp
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CGObjC.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/TargetInfo.cpp