aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PhysRegTracker.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-27 14:50:10 +0000
committerDan Gohman <gohman@apple.com>2007-08-27 14:50:10 +0000
commit81975f6dfd9d306d0ea7ce3ef22561c949de9af9 (patch)
tree2b8455fcfeb1001c9ec750f004fcb2acbae484fc /lib/CodeGen/PhysRegTracker.h
parent6b83b5d1ae07dcd1c5987f7548ed2cf4be73b6a1 (diff)
Add explicit keywords and remove spurious trailing semicolons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PhysRegTracker.h')
-rw-r--r--lib/CodeGen/PhysRegTracker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PhysRegTracker.h b/lib/CodeGen/PhysRegTracker.h
index f5a240231c..2717e33768 100644
--- a/lib/CodeGen/PhysRegTracker.h
+++ b/lib/CodeGen/PhysRegTracker.h
@@ -26,7 +26,7 @@ namespace llvm {
std::vector<unsigned> regUse_;
public:
- PhysRegTracker(const MRegisterInfo& mri)
+ explicit PhysRegTracker(const MRegisterInfo& mri)
: mri_(&mri),
regUse_(mri_->getNumRegs(), 0) {
}