diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-11-23 01:59:16 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-11-23 01:59:16 +0000 |
commit | 8220e8a830dc5c62142c1c36bffd4d2d7dbc5960 (patch) | |
tree | eb0c427edcd23f4104961896184ac2e335850ab9 /llvm/include | |
parent | ededfce1b782e9e83cc497e68d2c52352b4f3775 (diff) | |
download | bcm5719-llvm-8220e8a830dc5c62142c1c36bffd4d2d7dbc5960.tar.gz bcm5719-llvm-8220e8a830dc5c62142c1c36bffd4d2d7dbc5960.zip |
Add const qualifier for FunctionInfoIndex in ModuleLinker and linkInModule() (NFC)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 253840
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/Linker/Linker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Linker/Linker.h b/llvm/include/llvm/Linker/Linker.h index 679e60582e8..610b1ddf989 100644 --- a/llvm/include/llvm/Linker/Linker.h +++ b/llvm/include/llvm/Linker/Linker.h @@ -82,7 +82,7 @@ public: /// function is imported from the source module. /// Returns true on error. bool linkInModule(Module *Src, unsigned Flags = Flags::None, - FunctionInfoIndex *Index = nullptr, + const FunctionInfoIndex *Index = nullptr, Function *FuncToImport = nullptr); /// \brief Set the composite to the passed-in module. |