diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-05 18:59:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-05 18:59:36 +0000 |
commit | d0478744b3b5232694d0f887b3210078de5266c4 (patch) | |
tree | f85fd5971b10f429f20c2d5d07618e816e9a1a70 /include/llvm/Value.h | |
parent | 60fbe9b6d00c2740da5701ff5c25588867f21422 (diff) | |
download | external_llvm-d0478744b3b5232694d0f887b3210078de5266c4.zip external_llvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.gz external_llvm-d0478744b3b5232694d0f887b3210078de5266c4.tar.bz2 |
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/Value.h')
-rw-r--r-- | include/llvm/Value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index b9db5d6..f59e946 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -75,7 +75,7 @@ public: inline bool hasName() const { return !Name.empty(); } inline const std::string &getName() const { return Name; } - virtual void setName(const std::string &name, SymbolTable * = 0) { + virtual void setName(const std::string &name) { Name = name; } |