summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-05-04 02:28:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-05-04 02:28:57 +0000
commitae8f1f3fde1d9618bfcf8f629ffd68c26015f921 (patch)
tree59255c6d484d852093d28f32f04af8fe1916bcb2 /include
parentb00b4bed57af9d6c8f2a4ee138ca471fd06b0750 (diff)
downloadllvm-ae8f1f3fde1d9618bfcf8f629ffd68c26015f921.tar.gz
llvm-ae8f1f3fde1d9618bfcf8f629ffd68c26015f921.tar.bz2
llvm-ae8f1f3fde1d9618bfcf8f629ffd68c26015f921.tar.xz
Remove unused members and constructor arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Linker.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h
index 593d913b59..a398e1233a 100644
--- a/include/llvm/Linker.h
+++ b/include/llvm/Linker.h
@@ -47,16 +47,14 @@ class Linker {
/// Construct the Linker with an empty module which will be given the
/// name \p progname. \p progname will also be used for error messages.
/// @brief Construct with empty module
- Linker(StringRef progname, ///< name of tool running linker
- StringRef modulename, ///< name of linker's end-result module
- LLVMContext &C, ///< Context for global info
- unsigned Flags = 0 ///< ControlFlags (one or more |'d together)
+ Linker(StringRef modulename, ///< name of linker's end-result module
+ LLVMContext &C ///< Context for global info
);
/// Construct the Linker with a previously defined module, \p aModule. Use
/// \p progname for the name of the program in error messages.
/// @brief Construct with existing module
- Linker(StringRef progname, Module* aModule, unsigned Flags = 0);
+ Linker(Module* aModule);
/// Destruct the Linker.
/// @brief Destructor
@@ -115,9 +113,6 @@ class Linker {
private:
LLVMContext& Context; ///< The context for global information
Module* Composite; ///< The composite module linked together
- unsigned Flags; ///< Flags to control optional behavior.
- std::string Error; ///< Text of error that occurred.
- std::string ProgramName; ///< Name of the program being linked
/// @}
};