diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2015-11-23 01:59:12 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-11-23 01:59:12 +0000 |
commit | ededfce1b782e9e83cc497e68d2c52352b4f3775 (patch) | |
tree | 4feafede9472dd2e730d8cab2392a8fed4fb3259 | |
parent | 2f70a7ef57ba24ae2cfd401503b7f6d67dbe1913 (diff) | |
download | bcm5719-llvm-ededfce1b782e9e83cc497e68d2c52352b4f3775.tar.gz bcm5719-llvm-ededfce1b782e9e83cc497e68d2c52352b4f3775.zip |
Add const qualifier on FunctionInfoIndex::hasExportedFunctions() (NFC)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 253839
-rw-r--r-- | llvm/include/llvm/IR/FunctionInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/FunctionInfo.h b/llvm/include/llvm/IR/FunctionInfo.h index 55f9ed88f1c..3749212c9be 100644 --- a/llvm/include/llvm/IR/FunctionInfo.h +++ b/llvm/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; |