[llvm] r282563 - [LTO] Mark member function as const to fix compiler errors.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 18:49:07 PDT 2016
Author: davide
Date: Tue Sep 27 20:49:07 2016
New Revision: 282563
URL: http://llvm.org/viewvc/llvm-project?rev=282563&view=rev
Log:
[LTO] Mark member function as const to fix compiler errors.
Modified:
llvm/trunk/include/llvm/LTO/LTO.h
Modified: llvm/trunk/include/llvm/LTO/LTO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LTO/LTO.h?rev=282563&r1=282562&r2=282563&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LTO/LTO.h (original)
+++ llvm/trunk/include/llvm/LTO/LTO.h Tue Sep 27 20:49:07 2016
@@ -171,7 +171,7 @@ public:
bool canBeOmittedFromSymbolTable() const {
return GV && llvm::canBeOmittedFromSymbolTable(GV);
}
- bool isTLS() {
+ bool isTLS() const {
// FIXME: Expose a thread-local flag for module asm symbols.
return GV && GV->isThreadLocal();
}
More information about the llvm-commits
mailing list