summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ValueNumbering.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-10-29 19:52:04 +0000
committerDan Gohman <gohman@apple.com>2007-10-29 19:52:04 +0000
commit1961c28d4687d95139ccda29c6c755067703fcf6 (patch)
tree55e7979baadef1ecc860e1afac1b0945a6ab9f8c /llvm/lib/Analysis/ValueNumbering.cpp
parent7414e21ec07919e84f17472664226b2b437dd0af (diff)
downloadbcm5719-llvm-1961c28d4687d95139ccda29c6c755067703fcf6.tar.gz
bcm5719-llvm-1961c28d4687d95139ccda29c6c755067703fcf6.zip
Add explicit keywords.
llvm-svn: 43464
Diffstat (limited to 'llvm/lib/Analysis/ValueNumbering.cpp')
-rw-r--r--llvm/lib/Analysis/ValueNumbering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueNumbering.cpp b/llvm/lib/Analysis/ValueNumbering.cpp
index bdb9422c238..8665acdb46f 100644
--- a/llvm/lib/Analysis/ValueNumbering.cpp
+++ b/llvm/lib/Analysis/ValueNumbering.cpp
@@ -78,7 +78,7 @@ namespace {
///
struct VISIBILITY_HIDDEN BVNImpl : public InstVisitor<BVNImpl> {
std::vector<Value*> &RetVals;
- BVNImpl(std::vector<Value*> &RV) : RetVals(RV) {}
+ explicit BVNImpl(std::vector<Value*> &RV) : RetVals(RV) {}
void visitCastInst(CastInst &I);
void visitGetElementPtrInst(GetElementPtrInst &I);
OpenPOWER on IntegriCloud