diff options
author | Dan Gohman <gohman@apple.com> | 2007-08-01 15:32:29 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-08-01 15:32:29 +0000 |
commit | c2bbfc18e9adbbdcf5b3375d8d25e2452f7df7f1 (patch) | |
tree | 9984d67ee6e2fd4c3289e50a08b46ce5df8cbbc6 /include/llvm/CodeGen/MachineConstantPool.h | |
parent | a9f643432deabcdd83fed5539e6e9009842f1e11 (diff) |
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineConstantPool.h')
-rw-r--r-- | include/llvm/CodeGen/MachineConstantPool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineConstantPool.h b/include/llvm/CodeGen/MachineConstantPool.h index 1500053a12..ec00fc115d 100644 --- a/include/llvm/CodeGen/MachineConstantPool.h +++ b/include/llvm/CodeGen/MachineConstantPool.h @@ -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 |