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

@ -37,7 +37,7 @@ namespace {
bool LowerMallocArgToInteger;
public:
static char ID; // Pass ID, replacement for typeid
LowerAllocations(bool LowerToInt = false)
explicit LowerAllocations(bool LowerToInt = false)
: BasicBlockPass((intptr_t)&ID), MallocFunc(0), FreeFunc(0),
LowerMallocArgToInteger(LowerToInt) {}