summaryrefslogtreecommitdiff
path: root/include/llvm/Argument.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-05 18:59:36 +0000
committerChris Lattner <sabre@nondot.org>2005-03-05 18:59:36 +0000
commitd0478744b3b5232694d0f887b3210078de5266c4 (patch)
treef85fd5971b10f429f20c2d5d07618e816e9a1a70 /include/llvm/Argument.h
parent60fbe9b6d00c2740da5701ff5c25588867f21422 (diff)
downloadllvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.gz
llvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.bz2
llvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.xz
Remove the second argument to Value::setName, it is never needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Argument.h')
-rw-r--r--include/llvm/Argument.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Argument.h b/include/llvm/Argument.h
index d39c373b0a..51e53b17bd 100644
--- a/include/llvm/Argument.h
+++ b/include/llvm/Argument.h
@@ -39,8 +39,8 @@ public:
///
Argument(const Type *Ty, const std::string &Name = "", Function *F = 0);
- /// setName - Specialize setName to handle symbol table majik...
- virtual void setName(const std::string &name, SymbolTable *ST = 0);
+ /// setName - Specialize setName to handle symbol table majik.
+ virtual void setName(const std::string &name);
inline const Function *getParent() const { return Parent; }
inline Function *getParent() { return Parent; }