summaryrefslogtreecommitdiff
path: root/include/llvm/ModuleProvider.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-25 22:06:05 +0000
committerDan Gohman <gohman@apple.com>2008-03-25 22:06:05 +0000
commit950a4c40b823cd4f09dc71be635229246dfd6cac (patch)
treeff52517c682e08112a66247bc8b85f81664f72b3 /include/llvm/ModuleProvider.h
parentcfbb2f074da2842e42956d3b4c21e91b37f36f06 (diff)
downloadllvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.gz
llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.bz2
llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.xz
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ModuleProvider.h')
-rw-r--r--include/llvm/ModuleProvider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ModuleProvider.h b/include/llvm/ModuleProvider.h
index 17ff6b242d..65bcc763f1 100644
--- a/include/llvm/ModuleProvider.h
+++ b/include/llvm/ModuleProvider.h
@@ -74,7 +74,7 @@ public:
/// if we just have a Module. Note that the ModuleProvider takes ownership of
/// the Module specified.
struct ExistingModuleProvider : public ModuleProvider {
- ExistingModuleProvider(Module *M) {
+ explicit ExistingModuleProvider(Module *M) {
TheModule = M;
}
bool materializeFunction(Function *F, std::string *ErrInfo = 0) {