diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-28 22:40:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-28 22:40:59 +0000 |
commit | fa2c50324ef7971bbc81efccb4f5cbd423f2e525 (patch) | |
tree | a9d12893c560bf8f6716a82a26bf142b1f846d34 /include | |
parent | 316a65bda996a5b22bf5e8dacadee848d51f6cbe (diff) | |
download | external_llvm-fa2c50324ef7971bbc81efccb4f5cbd423f2e525.zip external_llvm-fa2c50324ef7971bbc81efccb4f5cbd423f2e525.tar.gz external_llvm-fa2c50324ef7971bbc81efccb4f5cbd423f2e525.tar.bz2 |
Remove unneccesary function prototypes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Linker.h | 19 | ||||
-rw-r--r-- | include/llvm/Support/Linker.h | 19 | ||||
-rw-r--r-- | include/llvm/Transforms/Utils/Linker.h | 19 |
3 files changed, 6 insertions, 51 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h index 8774012..3650ccb 100644 --- a/include/llvm/Linker.h +++ b/include/llvm/Linker.h @@ -9,8 +9,6 @@ #include <string> class Module; -class Type; -class Value; // LinkModules - This function links two modules together, with the resulting @@ -18,20 +16,7 @@ class Value; // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. // -bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); - - -// MangleTypeName - Implement a consistent name-mangling scheme for -// a given type. -// -string MangleTypeName(const Type* type); - - -// MangleName - implement a consistent name-mangling scheme for all -// externally visible (i.e., global) objects. -// privateName should be unique within the module. -// -string MangleName(const string& privateName, const Value* V); - +bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); #endif + diff --git a/include/llvm/Support/Linker.h b/include/llvm/Support/Linker.h index 8774012..3650ccb 100644 --- a/include/llvm/Support/Linker.h +++ b/include/llvm/Support/Linker.h @@ -9,8 +9,6 @@ #include <string> class Module; -class Type; -class Value; // LinkModules - This function links two modules together, with the resulting @@ -18,20 +16,7 @@ class Value; // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. // -bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); - - -// MangleTypeName - Implement a consistent name-mangling scheme for -// a given type. -// -string MangleTypeName(const Type* type); - - -// MangleName - implement a consistent name-mangling scheme for all -// externally visible (i.e., global) objects. -// privateName should be unique within the module. -// -string MangleName(const string& privateName, const Value* V); - +bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); #endif + diff --git a/include/llvm/Transforms/Utils/Linker.h b/include/llvm/Transforms/Utils/Linker.h index 8774012..3650ccb 100644 --- a/include/llvm/Transforms/Utils/Linker.h +++ b/include/llvm/Transforms/Utils/Linker.h @@ -9,8 +9,6 @@ #include <string> class Module; -class Type; -class Value; // LinkModules - This function links two modules together, with the resulting @@ -18,20 +16,7 @@ class Value; // error occurs, true is returned and ErrorMsg (if not null) is set to indicate // the problem. // -bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); - - -// MangleTypeName - Implement a consistent name-mangling scheme for -// a given type. -// -string MangleTypeName(const Type* type); - - -// MangleName - implement a consistent name-mangling scheme for all -// externally visible (i.e., global) objects. -// privateName should be unique within the module. -// -string MangleName(const string& privateName, const Value* V); - +bool LinkModules(Module *Dest, const Module *Src, string *ErrorMsg = 0); #endif + |