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

@ -114,7 +114,8 @@ class MachineConstantPool {
std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
public:
/// @brief The only constructor.
MachineConstantPool(const TargetData *td) : TD(td), PoolAlignment(1) {}
explicit MachineConstantPool(const TargetData *td)
: TD(td), PoolAlignment(1) {}
~MachineConstantPool();
/// getConstantPoolAlignment - Return the log2 of the alignment required by