Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC)

From: Mehdi Amini <mehdi.amini@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mehdi Amini 2015-11-23 01:59:12 +00:00
parent 020e24091c
commit b70988b005

View File

@ -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;