summaryrefslogtreecommitdiff
path: root/include/llvm/Linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Linker.h')
-rw-r--r--include/llvm/Linker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Linker.h b/include/llvm/Linker.h
index 2ab0ed47059..2d0c2cd96b7 100644
--- a/include/llvm/Linker.h
+++ b/include/llvm/Linker.h
@@ -67,7 +67,7 @@ class Linker {
Linker(
const std::string& progname, ///< name of tool running linker
const std::string& modulename, ///< name of linker's end-result module
- const LLVMContext& C, ///< Context for global info
+ LLVMContext& C, ///< Context for global info
unsigned Flags = 0 ///< ControlFlags (one or more |'d together)
);
@@ -285,7 +285,7 @@ class Linker {
/// @name Data
/// @{
private:
- const LLVMContext& Context; ///< The context for global information
+ LLVMContext& Context; ///< The context for global information
Module* Composite; ///< The composite module linked together
std::vector<sys::Path> LibPaths; ///< The library search paths
unsigned Flags; ///< Flags to control optional behavior.