Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit a5f794f

Browse files
committed
[LTO] Mark member function as const to fix compiler errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282563 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent d3cf92d commit a5f794f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/llvm/LTO/LTO.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class InputFile {
171171
bool canBeOmittedFromSymbolTable() const {
172172
return GV && llvm::canBeOmittedFromSymbolTable(GV);
173173
}
174-
bool isTLS() {
174+
bool isTLS() const {
175175
// FIXME: Expose a thread-local flag for module asm symbols.
176176
return GV && GV->isThreadLocal();
177177
}

0 commit comments

Comments
 (0)