From: Mehdi Amini Date: Mon, 23 Nov 2015 01:59:12 +0000 (+0000) Subject: Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC) X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b70988b005ca09977c899044a90082bbac8693bd;p=oota-llvm.git 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 --- 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;