[llvm] r253839 - Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 22 17:59:13 PST 2015
Author: mehdi_amini
Date: Sun Nov 22 19:59:12 2015
New Revision: 253839
URL: http://llvm.org/viewvc/llvm-project?rev=253839&view=rev
Log:
Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC)
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/include/llvm/IR/FunctionInfo.h
Modified: llvm/trunk/include/llvm/IR/FunctionInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/FunctionInfo.h?rev=253839&r1=253838&r2=253839&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/FunctionInfo.h (original)
+++ llvm/trunk/include/llvm/IR/FunctionInfo.h Sun Nov 22 19:59:12 2015
@@ -244,7 +244,7 @@ public:
/// Check if the given Module has any functions available for exporting
/// in the index.
- bool hasExportedFunctions(const Module *M) {
+ bool hasExportedFunctions(const Module *M) const {
assert(M == ExportingModule &&
"Checking for exported functions on unexpected module");
return HasExportedFunctions;
More information about the llvm-commits
mailing list