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/Function.h | |
parent | 60fbe9b6d00c2740da5701ff5c25588867f21422 (diff) |
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/Function.h')
-rw-r--r-- | include/llvm/Function.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 6c1f469218..112958002c 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -85,8 +85,8 @@ public: const std::string &N = "", Module *M = 0); ~Function(); - // Specialize setName to handle symbol table majik... - virtual void setName(const std::string &name, SymbolTable *ST = 0); + // Specialize setName to handle symbol table majik. + virtual void setName(const std::string &name); const Type *getReturnType() const; // Return the type of the ret val const FunctionType *getFunctionType() const; // Return the FunctionType for me |