From b70988b005ca09977c899044a90082bbac8693bd Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Mon, 23 Nov 2015 01:59:12 +0000 Subject: [PATCH] Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC) From: Mehdi Amini git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253839 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/FunctionInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IR/FunctionInfo.h b/include/llvm/IR/FunctionInfo.h index 55f9ed88f1c..3749212c9be 100644 --- a/include/llvm/IR/FunctionInfo.h +++ b/include/llvm/IR/FunctionInfo.h @@ -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;