Simplify and rename function overrideFunctionAttributes. NFC.

This is in preparation to making changes needed to stop resetting
NoFramePointerElim in resetTargetOptions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238079 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka
2015-05-23 01:12:26 +00:00
parent 4ea4cb3197
commit c17da7166d
7 changed files with 29 additions and 31 deletions

View File

@@ -591,9 +591,6 @@ ilist_traits<Argument>::getSymTab(Function *F) {
return F ? &F->getValueSymbolTable() : nullptr;
}
/// \brief Overwrite attribute Kind in function F.
void overrideFunctionAttribute(StringRef Kind, StringRef Value, Function &F);
} // End llvm namespace
#endif