diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-12-17 16:34:53 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-12-17 16:34:53 +0000 |
commit | 4a9bf5872c4a40521e8698fef7dcdf20dd5c180f (patch) | |
tree | f7dca2d2e61fd8d83d44809203b81f31c44a2608 /llvm/lib/Linker/LinkModules.cpp | |
parent | f44db24e1fd948c75c87aea017646f16553d3361 (diff) | |
download | bcm5719-llvm-4a9bf5872c4a40521e8698fef7dcdf20dd5c180f.tar.gz bcm5719-llvm-4a9bf5872c4a40521e8698fef7dcdf20dd5c180f.zip |
Mark a couple ModuleLinker member functions as const (NFC)
llvm-svn: 255903
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 1a10796a605..9c9c0ef321f 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp @@ -113,8 +113,8 @@ class ModuleLinker { /// Helper methods to check if we are importing from or potentially /// exporting from the current source module. - bool isPerformingImport() { return ImportFunction != nullptr; } - bool isModuleExporting() { return HasExportedFunctions; } + bool isPerformingImport() const { return ImportFunction != nullptr; } + bool isModuleExporting() const { return HasExportedFunctions; } /// If we are importing from the source module, checks if we should /// import SGV as a definition, otherwise import as a declaration. |