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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165595 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Function.h
lib/Transforms/IPO/Inliner.cpp
lib/Transforms/Instrumentation/GCOVProfiling.cpp
lib/Transforms/Utils/CodeExtractor.cpp