aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileInfoLoaderPass.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-01 15:32:29 +0000
committerDan Gohman <gohman@apple.com>2007-08-01 15:32:29 +0000
commitc2bbfc18e9adbbdcf5b3375d8d25e2452f7df7f1 (patch)
tree9984d67ee6e2fd4c3289e50a08b46ce5df8cbbc6 /lib/Analysis/ProfileInfoLoaderPass.cpp
parenta9f643432deabcdd83fed5539e6e9009842f1e11 (diff)
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r--lib/Analysis/ProfileInfoLoaderPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp
index e749375723..9685943e51 100644
--- a/lib/Analysis/ProfileInfoLoaderPass.cpp
+++ b/lib/Analysis/ProfileInfoLoaderPass.cpp
@@ -33,7 +33,7 @@ namespace {
std::string Filename;
public:
static char ID; // Class identification, replacement for typeinfo
- LoaderPass(const std::string &filename = "")
+ explicit LoaderPass(const std::string &filename = "")
: ModulePass((intptr_t)&ID), Filename(filename) {
if (filename.empty()) Filename = ProfileInfoFilename;
}