More explicit keywords.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-08-01 15:32:29 +00:00
parent a9f643432d
commit c2bbfc18e9
17 changed files with 24 additions and 23 deletions

View File

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